Layout v0.5.0 Release Notes

Release Date: 2017-09-28 // over 6 years ago
    • โž• Added defaultExpressions property for custom views (see README for details)
    • Percentages in contentSize expressions now refer to self.width instead of parent.width
    • ๐Ÿ›  Fixed bug that caused views to fail to resize correctly when using default width/height
    • Named Image and color asset expressions can now use bundle name instead of identifier
    • ๐Ÿ‘Œ Improved autocomplete behavior for Sublime Text
    • Failing to specify a value for a custom parameter no longer causes a hard crash
    • ๐Ÿ›  Fixed bug that caused typecheck for struct types to always fail
    • โœ‚ Removed the readOnly availability mode for RuntimeType properties
    • A width of 100% now resolves to zero if the view has no parent, instead of the current size
    • โž• Added support for all UIScrollView.contentInsetAdjustmentBehavior modes
    • โœ‚ Removed LayoutNode.contentSize property
    • โœ‚ Removed deprecated state property