Changelog History
-
v10.1.0 Changes
January 30, 2019β Adding support for nested view trees that are produced by different makeViews calls. (One example is a collection view that is created by calling makeViews on a Layout object and its cells that are also similarly populated from their own specific Layout objects.)
-
v10.0.1 Changes
October 16, 2018π Bugfix version fixes handling of flexibility on Overlay and Inset layouts.
- 0οΈβ£ OverlayLayout now has an optional flexibility parameter, and defaults to the flexibility of the first primary layout.
- π InsetLayout now has an optional flexibility parameter, and the corresponding builderβs flexibility parameter is now hooked up whereas it had no effect before.
-
v10.0.0 Changes
October 05, 2018- On OverlayLayout the primary layout parameter is now an array of layouts rather than a single layout.
- π§ The view recycling mechanism in the
makeViews
method now resets the transform and anchorPoint for recycled views before handing them off to client code for configuration. - β Minor warnings and playgrounds fixes.
-
v9.0.0 Changes
August 07, 2018π Major change in this release is that LayoutKit now builds cleanly with Swift 4.1 (Xcode 9.3).
π§ For the Objective-C side, the
configureView:
method on theLOKLayout
protocol is no longer optional. It is valid to provide an empty implementation if it is legitimately not needed for a particular layout implementation. -
v8.0.3
August 01, 2018 -
v8.0.2 Changes
July 18, 2018Exposing a few more APIs to Objective-C that previously were available to Swift only.
UserInterfaceLayoutDirection
parameter added toLOKLayoutArrangement
makeViews
method- π§ on
LOKBaseLayout
makingneedsView
andconfigure
open for overriding - β adding
horizontallyHighlyFlexible
toLOKFlexibility
-
v8.0.1 Changes
June 12, 2018β Added initializers to the ObjC builders in addition to their static methods. This change allows people to subclass these builders, which previously was not possible.
-
v8.0.0 Changes
June 06, 2018If you use this library from Swift, there are no changes!
π There are no changes to the Swift version of the library. The changes in this release are breaking changes to the builder objects created for Objective-C compatibility. We have changed those builders so that the chainable block properties no longer have the
with
prefix. Also, the properties that you could also set directly are now private so that the chainable way is the only way available now. -
v7.0.3 Changes
April 23, 2018π The Objective C layout wrapper builder classes now support a more succinct syntax for initializing layouts. Getting a bit closer to the convenient default parameter values we have in Swift.
π Also adding Objective C wrappers for the animation support API and for flexibility values that are flexible only on one of the horizontal or vertical axis.
-
v7.0.2
March 13, 2018