Protocols
The following protocols are available globally.
-
Undocumented
See moreDeclaration
Swift
public protocol LayoutElementsContainer : LayoutElement
-
Common protocol for anyone
See moreLayoutElement
. Used for multi-converting coordinates betweenLayoutElement
items. Converting between UIView and CALayer has low performance in comparison converting with same type. Therefore should UIView.layer property when creates constraint relationship between UIView and CALayer.Declaration
Swift
public protocol LayoutCoordinateSpace
-
Defines method for wrapping entity with base behavior to this type.
See moreDeclaration
Swift
public protocol Extensible
-
Undocumented
See moreDeclaration
Swift
public protocol RectBasedLayout
-
Main protocol for any layout constraint
See moreDeclaration
Swift
public protocol RectBasedConstraint
-
Undocumented
See moreDeclaration
Swift
public protocol RectBasedElement
-
Protocol for any layout element
See moreDeclaration
Swift
public protocol LayoutElement : AnyObject, LayoutCoordinateSpace, RectBasedElement
-
Defines requirements for thread confined wrapper of layout element
See moreDeclaration
Swift
public protocol ElementInLayoutTime : RectBasedElement
-
Protocol for text elements. Provides their specific parameters.
See moreDeclaration
Swift
public protocol TextPresentedElement
-
Element that may adapt to proposed size
See moreDeclaration
Swift
public protocol AdaptiveLayoutElement : AnyObject
-
Protocol for elements that can calculate yourself content size
See moreDeclaration
Swift
public protocol AdjustableLayoutElement : LayoutElement
-
Provides rect for constrain source space. Used for related constraints.
See moreDeclaration
Swift
public protocol LayoutConstraintProtocol : RectBasedConstraint