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 toself.width
instead ofparent.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 forRuntimeType
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
- โ Added