TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Dec 2017 |
SwiftSwift Version | 4.0 |
SPMSupports SPM | ✗ |
Maintained by Sota Yokoe.
let gotanda = Gotanda(width: 300, height: 200, backgroundColor: NSColor.yellowColor().CGColor).draw { (context) in
// Draw something using context
}
if let pngData = gotanda.pngData {
// Save PNG data.
}
Gotanda(width: 300, height: 200, backgroundColor: NSColor.yellowColor().CGColor)
Gotanda(image: #imageLiteral(resourceName: "SomeImage"))
Gotanda is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "Gotanda"
Sota Yokoe, [email protected]
Gotanda is available under the MIT license. See the LICENSE file for more info.