TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Pin Shih Wang.
PWAlignView
is a light-weight class to help you layout some simple views (UIView, UIImageView, UIButton, … ), which need to to be aligned on some direction.
fix layout problem in PWAlignViewAlignOptionStrategyLR when view is out of alignView's frame
code refactor
refine example UI
PWAlignView *alignView = [[PWAlignView alloc] initWithFrame:self.view.frame];
alignView.lineHeight = 45.0f;
alignView.itemSpace = 5.0f;
alignView.edgeInsets = UIEdgeInsetsMake(15, 15, 15, 15);
alignView.alignOption = PWAlignViewAlignOptionLeftToRight;
[self.view addSubview:alignView];
[alignView appendWithViewArray:array];
alignView.alignOption = PWAlignViewAlignOptionLeftToRight;
alignView.alignOption = PWAlignViewAlignOptionRightToLeft;
see license file