mirror of https://github.com/SnapKit/SnapKit
1.3 KiB
1.3 KiB
CHANGELOG
0.13.0 - July 30 2015
- Refactored
insets
toinset
and it now accepts Float/Double/CGFloat/Int/UInt as well as EdgeInsets - Size constraints to fixed constants like
make.width.equalTo(50)
now install directly on the from view rather than it’s superview - Debugging should generate property object pointer descriptions
- Debugging now includes file/line number where the closure that created the constraint is in your code
0.11.0 - April 26 2015
- Removed
final
declarations as they were causing crashes in certain circumstances
0.10.0 - April 15 2015
- ANNOUNCEMENT: Snap is now SnapKit
- BREAKING: The constraint making chain now utilises protocols to tighten the API's to avoid user error. This may break some syntaxes.
- BREAKING: Semantic
and
andwith
chain variables were removed - Added
update###
functions toConstraint
so their constants and priorities can be updated - Added a
SnapKit.Config.interfaceLayoutDirection
variable for richer Leading/Trailing support. - Fixed memory leaks that could occur on long lived views
- Ensure Swift 1.2 compatibility
0.9.x - March 2015
- Re-worked some internal API to allow for future updates
- Added
snp_prepareConstraints -> [Constraint]
which allows pre-building of constraints - Added a fatal error to
and
when it is used after relation has been set