1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-07-14 16:30:34 +03:00
Powerful and easy-to-use vector graphics Swift library with SVG support
Go to file
2016-09-29 17:34:00 +06:00
Dependencies Macaw xcodeproject updated to swift 2.3 2016-09-20 21:17:58 +06:00
Example Buildable example 2016-09-29 17:17:59 +06:00
Macaw.xcodeproj Macaw xcodeproject updated to swift 2.3 2016-09-20 21:17:58 +06:00
MacawTests Svg tests added 2016-09-01 16:03:48 +06:00
Source Observable array updated 2016-09-29 17:34:00 +06:00
.gitignore Update giignore 2016-08-02 18:42:29 +06:00
LICENSE Update license 2016-09-02 15:26:58 +07:00
logo.png Use raster logo instead. 2016-09-02 15:15:46 +07:00
macaw-logo.svg Move SVG logo to original state 2016-09-02 15:18:19 +07:00
Macaw.podspec Raw automated swift 3.0 conversion (not buildable) 2016-09-27 19:45:31 +06:00
README.md Update README.md 2016-09-23 20:30:49 +07:00
validate.sh Update podspec 2016-02-28 12:34:52 +06:00

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.