Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ahmedk92/CircularLayoutView

Repository files navigation

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, ahmedkhalaf.92@gmail.com

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.

About

A container view to layout subviews in a circular fashion.

Resources

License

Stars

Watchers

Forks

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /