A easy way to layout views in iOS using linear, flow etc., similar to layout mechanism in android.
-
FMLinearLayout
: A simple linear layout, similar to UIStackView in iOS and LinearLayout in android. -
FMScrollableLinearLayout
: A UIScrollView wrapper of FMLinearLayout.
With CocoaPods, add this line to your Podfile
.
pod 'FMLayouts'
and run pod install
, then you're all done!
Or copy *.h *.m
files in FMLayouts/Sources
folder to your project.
See demo
- iOS 7.0+
- ARC