Skip to content

Swift Package Manager support + size(…) method update

Compare
Choose a tag to compare
@lucdion lucdion released this 12 Jun 17:53
· 871 commits to master since this release
  • 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