You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I have spent the weekend trying to get my head round using PureLayout - one of the improvements that I would love to see is to have an FAQ section for common elements with some sample code.
eg:
1.Creating a left aligned UILabel with 2 lines of text
( making two lines of text is not Supported by PureLayout) logo.autoPinEdge(.left, to: .left, of: headerView, withOffset: 20)
2. Creating a right aligned icon that is 50% of the height of the Containing view?
I am happy to do a PR for that. I have started working on it. ( along with a blog post about PureLayout.
I am trying to map the freatures against AutoLayout and have found a couple of queries.
Is it possible to use a multiplier within PureLayout - eg ViewA Height is 0.5x ViewB Height.
Is multiple lines of text supported?
This is mainly to support smaller screen sizes- if not - how do you ensure that the UI scales to smaller and larger devices?
Hi
I have spent the weekend trying to get my head round using PureLayout - one of the improvements that I would love to see is to have an FAQ section for common elements with some sample code.
eg:
1.Creating a left aligned UILabel with 2 lines of text
( making two lines of text is not Supported by PureLayout)
logo.autoPinEdge(.left, to: .left, of: headerView, withOffset: 20)
2. Creating a right aligned icon that is 50% of the height of the Containing view?
This would help others to learn and use the library really quickly.
The text was updated successfully, but these errors were encountered: