1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-08-16 08:30:33 +03:00
Macaw/README.md
2016-09-23 20:30:49 +07:00

2.2 KiB

Macaw

[![CI Status](http://img.shields.io/travis/Igor Zapletnev/Macaw.svg?style=flat)](https://travis-ci.org/Igor Zapletnev/Macaw) Version License Platform

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.