Skip to content
This repository has been archived by the owner on Mar 26, 2022. It is now read-only.

Releases: el-hoshino/NotAutoLayout

3.0.0

28 Mar 03:43
9a67447
Compare
Choose a tag to compare

New features

  • A better maker syntax which uses more natural closures to avoid too many parameter usages in a method. (Some of them are not compatible with 2.X syntax)
  • A new concept called LayoutGuide inspired by UILayoutGuide to access demanded properties while trying to setup layouts.
  • An experimental sequential layout syntax.

Enhancements

  • Uses phantom type for layout making process checking.
  • Uses local types for public access instead of using extensions to exist system types

2.2.2

28 Dec 12:55
ac288e9
Compare
Choose a tag to compare
  • Added new APIs to get the coordinate from LayoutControlParameter like .safeRight and .safeVertical(at: 0.3)
  • Implemented those lacked methods in some LayoutMakers
  • Other minor bug fixes

2.2.1

20 Dec 17:47
75bc82f
Compare
Choose a tag to compare
  • Updated the Playground sample with a iPhone-X like screen, which contains safe area too
  • Fixed DidStoreLeftRightTopLayoutMaker's evaluation bug
  • Added a lot of useful parameters for LayoutControlParameter
  • Other minor issues fix

2.2.0

19 Nov 16:21
047ab57
Compare
Choose a tag to compare

Some improved LayoutMakers with new aspectFit(ratio: CGFloat? = nil) and aspectFill(ratio: CGFloat? = nil) layout making methods.

Please note that there're still some LayoutMakers which are not implemented in this version either.