All Versions
93
Latest Version
Avg Release Cycle
27 days
Latest Release
1649 days ago

Changelog History
Page 4

  • v0.6.9 Changes

    January 02, 2018
    • You can now position views using center.x and center.y instead of having to calculate the center offset yourself
    • ๐Ÿ‘ Layout now supports layer.anchorPoint, and respects its value when positioning using center.x/y expressions
    • โž• Added support for firstBaseline and lastBaseline expressions for positioning text-based views
    • Referencing parent properties like top and right now transforms the value to the current node's coordinate space
    • ๐Ÿ‘Œ Improved property error Red Box suggestions
  • 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 - use RuntimeType.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 and contentCompressionResistancePriority 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 the LayoutNode as an argument (the old method signature is deprecated)
  • 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
  • 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
  • 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
  • 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%
  • 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:) and children(withID:) methods to LayoutNode 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