Pentagram 1.1.0

Pentagram 1.1.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Dec 2016
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by LucasCoelho.



Pentagram 1.1.0

  • By
  • Lucas Coelho

Pentagram

Example

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

Installation

Pentagram is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Pentagram'

Usage

    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)
    }

Author

Lucas Coelho, [email protected]

License

Pentagram is available under the MIT license. See the LICENSE file for more info.