Swift Package Manager support + size(…) method update
-
size(…) methods now tries to apply the width and the height individually
Previously the size specified was applied only if both the width and height wasn’t specified. Now PinLayout will apply them individually, so if the width has been specified yet, the size’s width will be applied, else a warning will be displayed that indicate that the width won’t be applied. Same thing for the height. -
Add Swift Package Manager support
-
Doesn’t display a warning anymore if the new specified width or height value is equal to the currently set value. This is coherent with other methods (top, left, hCenter, ….)
-
Clean up size(...) methods source code
-
Add PinLayout's performance documentation