oleksii-demedetskyi / Parus

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

NSArray* PVArray(NSArray *) method. #23

Closed oleksii-demedetskyi closed 10 years ago

oleksii-demedetskyi commented 10 years ago

This will be equal to PVGroup without any parameters. This can be handy in some cases. And this will not require any asArray properties, just for converting all parameters to NSLayoutConstraint objects.

xNekOIx commented 10 years ago

@DAlOG as far as I understand, you want .withViews to become finisher. am I right? And there will be no .withMetrics option after .withViews.

oleksii-demedetskyi commented 10 years ago

Not exactly. Now we have syntax: group (array) options - finisher.

I ant add flexibility and add more Array.pv_group - options - finisher.

This construct just shorten syntax in case of large groups.