oleksii-demedetskyi / Parus

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

Lib should work with sets of layouts. #13

Closed xNekOIx closed 10 years ago

xNekOIx commented 11 years ago

Actual requirements:

PVGroup(@[
NSLayoutConstraint,
PVLayout,
@"|[view1]|".asVFL, // set of vfl categories to NSString
PVVFL(@""),
@[NSLayoutConstraint]
])
.views(@{<views>}) // optional
.#direction# // optional
.withMetrics(@{<metrics>}) // optional
.asArray // returns array of constraints
oleksii-demedetskyi commented 11 years ago

I start this code. You can check on appropriate branch.

In current implementation there is next syntax order direction - withViews - withMetrics - asArray

xNekOIx commented 10 years ago

I think this one is already done.