Latest 1.1.0
Homepage https://github.com/LucasCoelho/Pentagram
License MIT
Platforms ios 8.0
Authors

Version
License
Platform

Music Staff for iOS

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.

Latest podspec

{
    "name": "Pentagram",
    "version": "1.1.0",
    "summary": "Staff for use in music apps",
    "description": "A music staff you can use on music education apps, music games, etc. Please feel free to contribute, report bugs or ask for features",
    "homepage": "https://github.com/LucasCoelho/Pentagram",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Lucas Coelho": "[email protected]"
    },
    "source": {
        "git": "https://github.com/LucasCoelho/Pentagram.git",
        "tag": "1.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "Pentagram/Classes/**/*",
    "resource_bundles": {
        "Pentagram": [
            "Pentagram/**/*.xib"
        ]
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This