CircularLayoutView 0.2.2

CircularLayoutView 0.2.2

Maintained by Ahmed Khalaf.



CircularLayoutView

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

CircleLayoutView

Usage

Can be used from Iterface Builder and code.

Interface Builder

  1. Drag a UIView from the IB object library.
  2. Set the class of the view to CircularLayoutView.
  3. Adjust the shift and radiusFactor, if desired, from the attributes inspector.
  4. 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.