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