Closed xleon closed 8 years ago
Closing this based on the latest changes I've pushed and our discussions
@gshackles why Constraint member became internal (referenced commit fc4fe6a has it public)? https://github.com/FluentLayout/Cirrious.FluentLayout/blob/master/Cirrious.FluentLayout/FluentLayout.cs#L107
How do we use Constraint?
Finally got it, we can update constraints just by changing FluentLayout
object properties!
Good work, would be great to add that to the readme.md.
@alexsorokoletov Yeah good call, we'll get that added to the readme. In the meantime, I wrote up some stuff around the new release here: http://gregshackles.com/fluentlayout-2-5/
With this simple change we gain access to the NSLayoutConstraint. This is needed to animate constraints or any other operation. Please, see my comment here: https://github.com/slodge/Cirrious.FluentLayout/issues/18
This is how I´m using the added property: