- Updated to Swift 4.0
-
Added @discardableResult to Layout.swift functions
-
Updated EdgeMask's vars to lowercase
- Support for Swift 3
- Renamed TABSwiftLayout functions:
-
pin(_:toView:relation:margins:priority:)
topin(edges:toView:relation:margins:priority:)
-
pin(_:toEdge:ofView:relation:margin:priority:)
topin(edge:toEdge:ofView:relation:margin:priority:)
-
align(_:relativeTo:offset:priority:)
toalign(axis:relativeTo:offset:priority:)
-
size(_:ofViews:ratio:priority:)
tosize(axis:ofViews:ratio:priority:)
-
size(_:relatedBy:size:priority:)
tosize(axis:relatedBy:size:priority:)
-
size(_:relativeTo:ofView:ratio:priority:)
to"size(axis:relativeTo:ofView:ratio:priority:)
-
alignEdges(_:toView:)
toalignEdges(edges:toView:)
-
alignTop(_:)
toalignTop(toView:)
-
alignBottom(_:)
toalignBottom(toView:)
-
alignRight(_:)
toalignRight(toView:)
-
alignHorizontally(_:)
toalignHorizontally(toView:)
-
alignVertically(_:)
toalignVertically(toView:)
-
containsTraits(_:)
tocontains(trait:)
-
constraintsForTrait(_:)
toconstraints(forTrait:)
-