Fork of OAStachView with behaviour aligned to UIStackView. Original source code https://github.com/oarrabi/OAStackView.
All contributions in any form are welcomed, if you find the project helpful, and you want to contribute then please do.
OAStackView implements most of the features from UIStackView except the following:
-
baselineRelativeArrangement@property(nonatomic,getter=isBaselineRelativeArrangement) BOOL baselineRelativeArrangement;
-
layoutMarginsRelativeArrangement@property(nonatomic,getter=isLayoutMarginsRelativeArrangement) BOOL layoutMarginsRelativeArrangement;
UIStackViewDistribution is also partially implemented (2 elements out of 5 are still not implemented)
-
UIStackViewDistributionFill -
UIStackViewDistributionFillEqually -
UIStackViewDistributionFillProportionally -
UIStackViewDistributionEqualSpacing -
UIStackViewDistributionEqualCentering
Please refer to UIStackView for proper documentation.
The following would be nice to have for future versions
- Covering the remaining functionality from
UIStackView - Better Documentation
- Better test coverage for some edge cases
- Rewrite in swift, or more swift friendly
Omar Abdelhafith, o.arrabi@me.com
OAStackView is available under the MIT license. See the LICENSE file for more info.