oleksii-demedetskyi / Parus

Parus is simple chain style auto-layout helper for objective-c.
MIT License
106 stars 4 forks source link

Elminate asConstraint finisher. #15

Closed oleksii-demedetskyi closed 10 years ago

oleksii-demedetskyi commented 10 years ago

We can use categories and protocols on NSLayoutConstraint to eliminate finisher.

xNekOIx commented 10 years ago

Unfortunately I've found this in apple docs: @property (readonly) CGFloat multiplier

oleksii-demedetskyi commented 10 years ago

This can be eliminating over addToView(UIView*) finisher.

PVLeftOf(view).equalTo.leftOf(parent).addToView(parent);