mirror of
https://github.com/exyte/Macaw.git
synced 2024-10-26 13:01:25 +03:00
Powerful and easy-to-use vector graphics Swift library with SVG support
Dependencies | ||
Example | ||
Macaw.xcodeproj | ||
MacawTests | ||
Source | ||
.gitignore | ||
LICENSE | ||
logo.png | ||
macaw-logo.svg | ||
Macaw.podspec | ||
README.md | ||
validate.sh |
Macaw
[![CI Status](http://img.shields.io/travis/Igor Zapletnev/Macaw.svg?style=flat)](https://travis-ci.org/Igor Zapletnev/Macaw)
What is Macaw?
Macaw is a powerful and easy-to-use vector graphics library written in Swift.
It's simple
Get started with Macaw in several lines of code:
class MyView: MacawView {
required init?(coder aDecoder: NSCoder) {
let text = Text(text: "Hello, World!", place: .move(dx: 145, dy: 100))
super.init(node: text, coder: aDecoder)
}
}
It has SVG support
Include Scalable Vector Graphics right into your application:
class SVGView: MacawView {
required init?(coder aDecoder: NSCoder) {
super.init(node: SVGParser.parse(path: "tiger"), coder: aDecoder)
}
}
It's powerful
Affine transformations, user events, animation and various effects to build beautiful apps with Macaw:
Take a look at getting started guide to learn more.
Requirements
- iOS 8.0+ / Mac OS X 10.9+
- Xcode 7.3+
Installation
Macaw is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "Macaw"
Building from sources
To build Macaw from sources:
- clone the repo
git@github.com:exyte/Macaw.git
- open terminal and run
cd <MacawRepo>/Example/
- run
pod install
to install all dependencies - run
open Example.xcworkspace/
to open project in the Xcode
Author
exyte, info@exyte.com
License
Macaw is available under the MIT license. See the LICENSE file for more info.