Skip to content
Compare
Choose a tag to compare
@hpique hpique released this 02 May 09:02
· 57 commits to master since this release

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* and lyt_placeLeft* with margins you must change the sign. The same applies to the lyt_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.