- SVG in Swift
- Use XML parser from Reindeer
guard let path = Bundle.main.path(forResource: item, ofType: "svg"),
let data = try? Data(contentsOf: URL(fileURLWithPath: path)),
let document = Snowflake.Document(data: data)
else { return }
let _ = document.svg.view
Snowflake is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'Reindeer', git: 'https://github.com/onmyway133/Reindeer'
pod 'Snowflake', git: 'https://github.com/onmyway133/Snowflake'
Snowflake is also available through Carthage. To install just write into your Cartfile:
github "onmyway133/Snowflake"
Snowflake can also be installed manually. Just download and drop Sources
folders in your project.
Khoa Pham, [email protected]
We would love you to contribute to Snowflake, check the CONTRIBUTING file for more info.
Snowflake is available under the MIT license. See the LICENSE file for more info.