Latest 0.2.2
Homepage https://github.com/ahmedk92/CircularLayoutView
License MIT
Platforms ios 8.0
Authors

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.

Latest podspec

{
    "name": "CircularLayoutView",
    "version": "0.2.2",
    "summary": "A container view to layout subviews in a circular fashion.",
    "description": "A container view to layout subviews in a circular fashion..",
    "homepage": "https://github.com/ahmedk92/CircularLayoutView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "ahmedk92": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ahmedk92/CircularLayoutView.git",
        "tag": "0.2.2"
    },
    "social_media_url": "https://twitter.com/ahmedkhalaf_92",
    "platforms": {
        "ios": "8.0"
    },
    "swift_version": "4.0",
    "source_files": "CircularLayoutView/Classes/**/*"
}

Pin It on Pinterest

Share This