This repository has been archived by the owner on Mar 26, 2022. It is now read-only.
Releases: el-hoshino/NotAutoLayout
Releases · el-hoshino/NotAutoLayout
3.0.0
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 byUILayoutGuide
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
- Added new APIs to get the coordinate from
LayoutControlParameter
like.safeRight
and.safeVertical(at: 0.3)
- Implemented those lacked methods in some
LayoutMaker
s - Other minor bug fixes
2.2.1
- 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
Some improved LayoutMaker
s with new aspectFit(ratio: CGFloat? = nil)
and aspectFill(ratio: CGFloat? = nil)
layout making methods.
Please note that there're still some LayoutMaker
s which are not implemented in this version either.