Cartography icon indicating copy to clipboard operation
Cartography copied to clipboard

Make the `makeEqual` function public?

Open bcattle opened this issue 8 years ago • 0 comments

Similar to #191, would it be possible/desirable to make the makeEqual function public? The specific use case I envision is for pinning a group of views with equal widths or heights.

Then you could just write

constrain(views) { (views) in
    makeEqual(by: { $0.width }, elements: views)
}

bcattle avatar Oct 03 '17 06:10 bcattle