comments
This commit is contained in:
parent
e4a6a1ddf0
commit
8a9d85a83c
@ -8,10 +8,11 @@
|
|||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
|
/// CollectionReusableView that can contains any other view.
|
||||||
public class ContainerCollectionReusableView: UICollectionReusableView {
|
public class ContainerCollectionReusableView: UICollectionReusableView {
|
||||||
var view: UIView?
|
public var view: UIView?
|
||||||
var topConstraint: NSLayoutConstraint?
|
public var topConstraint: NSLayoutConstraint?
|
||||||
var bottomConstraint: NSLayoutConstraint?
|
public var bottomConstraint: NSLayoutConstraint?
|
||||||
|
|
||||||
public func addAndContain(view: UIView) {
|
public func addAndContain(view: UIView) {
|
||||||
guard self.view != view else { return }
|
guard self.view != view else { return }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user