CircularLayoutView
Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Usage
Can be used from Iterface Builder and code.
Interface Builder
- Drag a
UIViewfrom the IB object library. - Set the class of the view to
CircularLayoutView. - Adjust the
shiftandradiusFactor, if desired, from the attributes inspector. - Drag subviews into it.
Code
circularLayoutView.shift = -60 // 60 Degrees counter-clockwise.
circularLayoutView.radiusFactor = 0.5 // leave half of the available width as padding.
circularLayoutView.addSubview(aView)Requirements
Installation
CircularLayoutView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'CircularLayoutView'Author
ahmedk92, [email protected]
License
CircularLayoutView is available under the MIT license. See the LICENSE file for more info.
A container view to layout subviews in a circular fashion.
