Layout
public struct Layout : RectBasedLayout, ExtensibleMain layout structure. Use his for positioning and filling in source rect (which can be constrained using RectBasedConstraint constraints).
- 
                  
                  DeclarationSwift public static func build(_ base: RectBasedLayout) -> Layout
- 
                  
                  Performing layout of given rect inside available rect. Attention: Apply layout for view frame using code as layout(rect: &view.frame,…) has side effect and called setFrame method on view. ParametersrectRect for layout sourceAvailable space for layout 
- 
                  
                  Alignment part of main layout. See moreDeclarationSwift public struct Alignment : RectBasedLayout
- 
                  
                  Filling part of main layout See moreDeclarationSwift public struct Filling : RectBasedLayout
- 
                  
                  Layout behavior, that makes passed rect equally to space rect Warning Don’t use this layout in combination with other, this can lead to unexpected behavior.DeclarationSwift static var equal: Layout { get }
- 
                  
                  Layout behavior, that makes passed rect equally to rect DeclarationSwift static func equal(_ value: CGRect) -> Layout
- 
                  
                  This layout do nothing. Use this if you create compound layout and you need begin with old frame Warning Be careful if you use it in layout block. Any parameters that won’t overrided for this, will have no effect for constraints.DeclarationSwift static var nothing: Layout { get }
- 
                  
                  Convinience initializer similar CGRect initializer. DeclarationParametersxHorizontal alignment behavior yVertical alignment behavior widthWidth filling behavior heightHeight filling behavior 
- 
                  
                  Undocumented DeclarationSwift func with(height: Filling.Vertical) -> Layout
- 
                  
                  Undocumented DeclarationSwift func with(width: Filling.Horizontal) -> Layout
- 
                  
                  Undocumented DeclarationSwift func with(y: Alignment.Vertical) -> Layout
- 
                  
                  Undocumented DeclarationSwift func with(x: Alignment.Horizontal) -> Layout
- 
                  
                  Undocumented DeclarationSwift public static func left(_ space: PartialRangeFrom<CGFloat>) -> Layout
- 
                  
                  Undocumented DeclarationSwift public static func right(_ space: PartialRangeFrom<CGFloat>) -> Layout
- 
                  
                  Undocumented DeclarationSwift public static func bottom(_ space: PartialRangeFrom<CGFloat>) -> Layout
- 
                  
                  Undocumented DeclarationSwift public static func top(_ space: PartialRangeFrom<CGFloat>) -> Layout
- 
                  
                  Undocumented DeclarationSwift static func + (lhs: Layout, rhs: Layout) -> Layout
 Layout Structure Reference
        Layout Structure Reference