The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
📒 EasySwiftLayout 1.6.3
1 year ago
#### Fixed:
- Ambiguous use of `size(match:withInset:usingRelation:priority:)` https://github.com/Pimine/EasySwiftLayout/issues/20.
📒 EasySwiftLayout 1.6.2
2 years ago
#### Fixed:
- Enum cases with associated values cannot be marked potentially unavailable with available. [Swift Bug](https://bugs.swift.org/browse/SR-14539).
Improvements and support for SPM
3 years ago
#### Added:
- Support for Swift Package Manager.
- Tests for size and center extensions.
- `assertionFailure` when expected superview but found nil when attempting to make constraint.
#### Updated:
- Enum `ESLAxis` cases `x`, `y` deprecated and replaced with `horizontal` and `vertical`.
#### Removed:
- `ESLOffset`. Replaced with `UIOffset` from `UIKit`.
Example project
3 years ago
#### Added:
- Example project.
- Small helper method `add(toSuperview:)` for convenient chaining.
#### Updated:
- API documentation.
- Internal project structure.
Bug fixes and improvements
3 years ago
#### Added:
- Ability to chain `pin`, `center` methods. For now, all methods returns `self` with attribute `@discardableResult`. This will help to remove some boilerplate code in our daily UI routine.
- `ESLSizeInsets` (typealias of `UIOffset`) instead of `ESL2DimentionsInsets` (typealias of `CGSize`). It was just a bad naming, plus `UIOffset` creates better API rather than `CGSize`.
- Swift 5 support.
#### Updated:
- API documentation.
- Size methods which uses another view for layout. Replaced argument labels `to` to `match`.
- `centerInSuperview`. Now it requires argument label `axis`.
#### Fixed:
- Center methods ignored constraints priority.
- `height` ignored constraint relation.
Support to set size using another view
3 years ago
#### Added:
- Support to set size of the view using another `UIView`.
#### Updated:
- API documentation.
#### Deprecated:
- Size methods with layout relation as a first argument. Relation moved to base size methods as a second argument with default value `NSLayoutRelation.equal`.
API Documentation
4 years ago
#### Updated:
- API Documentation.