TestsTested | ✓ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Dec 2016 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by LucasCoelho.
To run the example project, clone the repo, and run pod install
from the Example directory first.
Pentagram is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'Pentagram'
override func viewDidLoad() {
super.viewDidLoad()
let pentagram = PentagramViewController.getPentagram(5, spaceBetweenLines: 24, topPosition: 200)
addChildViewController(pentagram)
view.addSubview(pentagram.view)
pentagram.didMoveToParentViewController(self)
pentagram.key = .F
let note = pentagram.drawNoteForName(.Do3)
}
Lucas Coelho, [email protected]
Pentagram is available under the MIT license. See the LICENSE file for more info.