Latest 0.0.4
Homepage https://github.com/cemolcay/CircleOfFifths
License MIT
Platforms ios 8.0, osx 10.9, tvos 9.0, requires ARC
Dependencies MusicTheorySwift
Authors

Fully customisable IBDesignable circle of fifths implementation.

alt tag

Requirements

  • Swift 3+
  • iOS 8.0+
  • tvOS 9.0+
  • macOS 10.11+

Install

pod 'CircleOfFifths'

You need to add this post installer script to your podfile in order to use @IBDesignable libraries with pods.
More information on this cocoapods issue

post_install do |installer|
  installer.pods_project.build_configurations.each do |config|
    config.build_settings['LD_RUNPATH_SEARCH_PATHS'] = ['$(FRAMEWORK_SEARCH_PATHS)']
  end
end

Usage

  • CircleOfFifths just a regular UIView subclass with custom CALayer drawing with customisable @IBInspectable properties.
  • It can render any Scale type in any key of this music theory library.
  • Just set the scale parameter in order to change scale and/or key of circle.
  • Also draws another customisable circle below to show related major, minor and diminished chords of the scale in circle.

Credits

Latest podspec

{
    "name": "CircleOfFifths",
    "version": "0.0.4",
    "summary": "Fully customisable IBDesignable circle of fifths implementation.",
    "description": "CircleOfFifthsn===nnFully customisable IBDesignable circle of fifths implementation.nn![alt tag](https://github.com/cemolcay/CircleOfFifths/blob/master/demo.png?raw=true)nnRequirementsn----nn* Swift 4+n* iOS 8.0+n* tvOS 9.0+n* macOS 10.9+nnInstalln----nn```npod 'CircleOfFifths'n```nnYou need to add this post installer script to your podfile in order to use @IBDesignable libraries with pods.nMore information on this [cocoapods issue](https://github.com/CocoaPods/CocoaPods/issues/5334)nn```npost_install do |installer|ninstaller.pods_project.build_configurations.each do |config|nconfig.build_settings['LD_RUNPATH_SEARCH_PATHS'] = ['$(FRAMEWORK_SEARCH_PATHS)']nendnendn```nnUsagen----nn* CircleOfFifths just a regular `UIView` subclass with custom `CALayer` drawing with customisable `@IBInspectable` properties.n* It can render any `Scale` type in any key of this [music theory library](https://github.com/cemolcay/MusicTheory).n* Just set the `scale` parameter in order to change scale and/or key of circle.n* Also draws another customisable circle below to show related major, minor and diminished chords of the scale in circle.nnCreditsn----nn* Thanks to http://randscullard.com/CircleOfFifths/",
    "homepage": "https://github.com/cemolcay/CircleOfFifths",
    "license": "MIT",
    "authors": {
        "cemolcay": "[email protected]"
    },
    "platforms": {
        "ios": "8.0",
        "osx": "10.9",
        "tvos": "9.0"
    },
    "source": {
        "git": "https://github.com/cemolcay/CircleOfFifths.git",
        "tag": "0.0.4"
    },
    "source_files": "Source/*.swift",
    "requires_arc": true,
    "dependencies": {
        "MusicTheorySwift": []
    }
}

Pin It on Pinterest

Share This