Skip to content

Releases: Pimine/EasySwiftLayout

📒 EasySwiftLayout 1.6.3

06 Oct 21:00
ce78b3d
Compare
Choose a tag to compare

Fixed:

  • Ambiguous use of size(match:withInset:usingRelation:priority:) #20.

📒 EasySwiftLayout 1.6.2

15 Nov 20:48
c82596f
Compare
Choose a tag to compare

Fixed:

  • Enum cases with associated values cannot be marked potentially unavailable with available. Swift Bug.

1.6.1

16 Feb 14:36
Compare
Choose a tag to compare
Prepare release 1.6.1.

Improvements and support for SPM

16 Feb 14:00
470d0f3
Compare
Choose a tag to compare

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

17 May 19:11
7ed6c6f
Compare
Choose a tag to compare

Added:

  • Example project.
  • Small helper method add(toSuperview:) for convenient chaining.

Updated:

  • API documentation.
  • Internal project structure.

Bug fixes and improvements

14 May 19:34
c806f66
Compare
Choose a tag to compare

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

03 May 13:36
9fb2238
Compare
Choose a tag to compare

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

14 Mar 11:01
Compare
Choose a tag to compare

Updated:

  • API Documentation.

1.3.2

05 Feb 13:24
Compare
Choose a tag to compare
1.3.2

1.3.1

05 Feb 12:58
Compare
Choose a tag to compare
Update podspec