Releases: robotmedia/Lyt
Releases · robotmedia/Lyt
0.2
Version 0.2 contains changes that break backward compatibility. If you were using Lyt 0.1 or lower you might have to make changes to your code.
- Margins are now always relative to the view. If you were using
lyt_alignRight*
,lyt_alignBottom*
,lyt_placeAbove*
andlyt_placeLeft*
with margins you must change the sign. The same applies to thelyt_constraintBy*
equivalents.
In Lyt 0.1: [view lyt_alignRightToParentWithMargin:-10]
;
In Lyt 0.2: [view lyt_alignRightToParentWithMargin:10]
;
- Centering methods have been renamed to change the word margin with offset.