weak delegate
This commit is contained in:
parent
a1ca758c1b
commit
320976e5ae
@ -41,7 +41,7 @@ import UIKit
|
|||||||
// MARK: - Delegate
|
// MARK: - Delegate
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
|
|
||||||
weak var delegateObject: MVMCoreUIDelegateObject?
|
var delegateObject: MVMCoreUIDelegateObject?
|
||||||
|
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
// MARK: - Stored Properties
|
// MARK: - Stored Properties
|
||||||
|
|||||||
@ -32,7 +32,7 @@ import UIKit
|
|||||||
var bottomLineWidthConstraint: NSLayoutConstraint?
|
var bottomLineWidthConstraint: NSLayoutConstraint?
|
||||||
|
|
||||||
//delegate
|
//delegate
|
||||||
public var delegate: TabsDelegate?
|
weak public var delegate: TabsDelegate?
|
||||||
|
|
||||||
//control var
|
//control var
|
||||||
public var heightConstraint: NSLayoutConstraint?
|
public var heightConstraint: NSLayoutConstraint?
|
||||||
@ -93,7 +93,7 @@ import UIKit
|
|||||||
bottomScrollView.delegate = self
|
bottomScrollView.delegate = self
|
||||||
addSubview(bottomScrollView)
|
addSubview(bottomScrollView)
|
||||||
bottomScrollView.addSubview(bottomContentView)
|
bottomScrollView.addSubview(bottomContentView)
|
||||||
bottomLine.backgroundColor = .mfTomatoRed()
|
bottomLine.backgroundColor = .mvmRed
|
||||||
bottomContentView.addSubview(bottomLine)
|
bottomContentView.addSubview(bottomLine)
|
||||||
bringSubviewToFront(bottomScrollView)
|
bringSubviewToFront(bottomScrollView)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user