Skip to content

Bug fixes and improvements

Compare
Choose a tag to compare
@denandreychuk denandreychuk released this 14 May 19:34
· 58 commits to master since this release
c806f66

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.