All Versions
93
Latest Version
Avg Release Cycle
27 days
Latest Release
1649 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v0.6.9 Changes
January 02, 2018- You can now position views using
center.x
andcenter.y
instead of having to calculate the center offset yourself - ๐ Layout now supports
layer.anchorPoint
, and respects its value when positioning usingcenter.x/y
expressions - โ Added support for
firstBaseline
andlastBaseline
expressions for positioning text-based views - Referencing parent properties like
top
andright
now transforms the value to the current node's coordinate space - ๐ Improved property error Red Box suggestions
- You can now position views using
-
v0.6.8 Changes
December 20, 2017- ๐ Fixed a regression in UITableView auto-sizing for cells and section headers
- Array literals in expression are now type checked, Layout and will throw an error if the element types don't match
- ๐
RuntimeType(_: String)
is now deprecated - useRuntimeType.type(named: String)
instead - Expressions can now reference properties of nested structs or classes inside state objects
-
v0.6.7 Changes
December 12, 2017- ๐ Fixed a major performance regression introduced in version 0.6.3 (caused by calling
UIView.layoutIfNeeded()
) - The Red Box debug console is now attached to the main window, so it no longer requires an onscreen
LayoutViewController
- ๐ The Red Box is now disabled by default in production builds. You can enable it programmatically if you want it to be shown
- The Cmd-R reload shortcut now works in any view or controller, not just subclasses of
LayoutViewController
- โ Added a more reliable fix for intermittent crashes when reloading due to a race condition in NSAttributedString logic
- It is now possible to specify
contentHuggingPriority
andcontentCompressionResistancePriority
using expressions - ๐ Fixed a test regression in Xcode 9.2 / iOS 11.2 due to a change in
UIStackView
behavior - ๐ Fixed a bug that caused an infinite update loop for certain types of expression error
- ๐ The
layoutDidLoad()
delegate method now receives theLayoutNode
as an argument (the old method signature is deprecated)
- ๐ Fixed a major performance regression introduced in version 0.6.3 (caused by calling
-
v0.6.6 Changes
December 04, 2017- ๐ Improved support for comma-delimited array literals in expressions, and added support for array subscripting using
[]
- โฌ๏ธ Upgraded Expression library to 0.9.1, which fixes a number of parsing bugs and improves LayoutTool expression formatting
- โ Removed UIImagePickerController extension, which caused problems with AppStore Review for apps not using the photo library
- โก๏ธ LayoutTool format now logs the number of files it has updated
- ๐ Improved support for comma-delimited array literals in expressions, and added support for array subscripting using
-
v0.6.5 Changes
November 29, 2017- ๐ Fixed a bug where
accessibilityIdentifier
property was reported as private or unavailable - LayoutTool
strings
command now finds parameterized strings
- ๐ Fixed a bug where
-
v0.6.4 Changes
November 24, 2017- โ Added ability to specify format arguments for localized string constants (see README for details)
- ๐ Fixed bug where UIAccessibility properties were reported as private or unavailable
-
v0.6.3 Changes
November 17, 2017- ๐ Fixed UIStackView bug introduced in 0.6.1, and made further improvements
- ๐ Fixed some inconsistent behavior when using empty or commented-out expressions
-
v0.6.2 Changes
November 15, 2017- ๐ Fixed an infinite recursion bug in the
updateFrame()
logic - Disabled an assertion that sometimes fired incorrectly due to a race condition
- ๐ Fixed a bug where children added programmatically might be positioned incorrectly
- ๐ Fixed an infinite recursion bug in the
-
v0.6.1 Changes
November 14, 2017- โก๏ธ Expressions that reference the
contentOffset
of a containing UIScrollView now update automatically when it changes - Layout now automatically calls
setNeedsLayout()
on the containing view of the root LayoutNode when its frame changes - You can now reference a macro defined in the root node of a Layout XML file from an expression on the root node
- ๐ Improved support for views using AutoLayout (i.e. where
translatesAutoresizingMaskIntoConstraints = false
) - ๐ Fixed a spurious circular reference error relating to implicit height expressions
- Unhandled errors that are thrown outside of a
LayoutViewController
now assert instead of failing silently - โ Added strings command to LayoutTool for extracting localizable string references
- โฌ๏ธ Reduced setup time for a Layout view hierarchy by ~30%
- โก๏ธ Expressions that reference the
-
v0.6.0 Changes
November 09, 2017- ๐ Outlets can now be set using an expression as long the result is constant (see README for details)
- Error messages now include the name of the Layout XML file where the error occured
- ๐ Improved error messages, including bug fixes and better suggestions for mistyped property names
- โ Added
childNode(withID:)
andchildren(withID:)
methods toLayoutNode
for looking up child nodes - The
layoutNode
property for Layout-managed table and collection view cells is now public - ๐ Better constant analysis, which should improve performance when updating mostly-static views
- ๐ Fixed incorrect error message when expression is missing a closing brace
- ๐ Dropped support for Swift 3.1 and Xcode 8.3.3 (this was broken in the previous release anyway)
- ๐ Fixed string and character-related warnings in Xcode 9.1
- Minor breaking changes to LayoutError API