LayoutPlaceholder
open class LayoutPlaceholder<Element, Super> : LayoutGuide<Super> where Element : LayoutElement, Super : LayoutElement
Base class for any view placeholder that need dynamic position and/or size. Used UIViewController pattern for loading target view, therefore will be very simply use him.
-
Undocumented
Declaration
Swift
open private(set) lazy var itemLayout: LayoutBlock<Element> { get set }
-
Undocumented
Declaration
Swift
open var element: Element! { get }
-
Undocumented
Declaration
Swift
open var isElementLoaded: Bool { get }
-
Undocumented
Declaration
Swift
open var elementIfLoaded: Element? { get }
-
Undocumented
Declaration
Swift
open func loadElement()
-
Undocumented
Declaration
Swift
open func elementDidLoad()
-
Undocumented
Declaration
Swift
open func loadElementIfNeeded()
-
Declaration
Swift
open override func layout(in rect: CGRect)
-
Declaration
Swift
open override func didAddToOwner()