All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Put unreleased changes here
- Preprocessor flag
#if canImport(UIKit)
moved to wrap all UIKit related types.
- Adds support for Xcode11 & Swift 5.1
fillContainer
now returns self to make it chainable
Fixes Equation api >= broken operator
Fixes view.bottom/top/right/leftConstraint possibly returning wrong constraint if the one you want is not there yet. (looking for constraint in the view itself after looking for it in the superview) The fix makes sure it only looks for the constraint in the view itself for width and height constraints, that corresponds to constraints added via width/heightAnchors api.
- Make sure userAddedConstraints doesn't return layout margins. Fixes #104 Kudos @mpsnp 👏
- Code clean
- Removing deprecated tap helper (discussion here #42) alternatives : https://github.com/XCEssentials/ViewEvents
- Add support for Xcode10 & Swift 4.2
- Adds support for baselines, kudos to @bellebethcooper for bringing this up 🚀
align(lastBaselines: label, label2, label3)
label.FirstBaseline == label.LastBaseline
- Fixes "view.heightConstraint being nil" when set from IB or anchors. Thanks @leidi0129 for spotting the issue 👏
- Supports Xcode 9.3 & Swift 4.1
==
operator now works even if views are not at the same level in the view hierarchy==
operator is now reflexive- Re-opening Layout([array]) overload Some needed it for dynamic layout so it's back :)
- UILayoutSupport & UILayoutGuide are now supported in Equation base api.
- Supports Xcode 9 & Swift 4
- Size constraints such as width and height can now be added without the need for a superview.
- tvOS Support
- Built with Xcode 8.3.1