All notable changes to this project will be documented in this file. Items under Unreleased are currently available on master's HEAD, but not yet tagged.
-
Support for shortcuts with leading zeros as described in issue (#204) Vladimir Roganov #205
-
Prevents the program from crashing when the color passed in is not of the correct type CodeForRabbit #214
- Find named colour tags plist when using SPM.
- Address Xcode 13 related warnings. Sergio Baró #195
- Support for
viewBox
tag. Alessio Prosperi and Ariel Elkin #181 and #185.
- Xcode 12 and SPM Support. Ariel Elkin, #178
- New API method for clients to convert single path string into CGPath. Scott Sykora , #172
- Support tags. Sebastian Ludwig, #154
- Support stroke attributes
stroke-linecap
,stroke-linejoin
,stroke-miterlimit
andstroke-dasharray
. Sebastian Ludwig #154 - Added support for elliptical arc commands sequence of after a single "a". Vladimir Roganov #143
- Xcode 11 support
- Fix for OS X Crash (#136) via Gabor Nemeth
- Fix 1pt line scaling. Sebastian Ludwig #159
- Fix named SVG Colors. After code refactor made on commit feafc5f SVGColors plist file was renamed but this were not reflected on plist loading code. Daniel Coello
- Fixed Xcode 11 build (#163) by treating SVGColors.plist as a resource instead of a source file. Chris Vasselli #168
- Embed Iceland SVG example in a zoomable scroll view. kwabford. #137
- Add support for integer function SVG colors: rgb(int, int, int). Clément Beffa #124
- Add unit tests. Ariel Elkin.
- Handle attributes on
<a>
elements and ignore unknown elements. Scott Talbot #121 - Demo project: show Icelandic SVG in scrollview. Kwab Fordjour #137
- Add support for named SVG colors. Jonnie Walker #119
- Add CHANGELOG. Ariel Elkin feafc5fb9142a9e7f28581f9bd464636bad614cb
- Update iOS Demo projects. Ariel Elkin feafc5fb9142a9e7f28581f9bd464636bad614cb
- Apply nested transformations in the correct order. Scott Talbot #117
- Rounded Rectangles & Ellipses Can Specify either or
rx
ry
. Previously a missing attribute was interpreted as 0, whereas the spec says it should be equal to the one that is supplied. Johnnie Walker #120
2.3.1 2018-03-21
- Use
CGPathAddRoundedRect
to generate Rectangle, support rx/ry in rect element. George Maisuradze #92
2.3.0 2018-03-21
- Implement elliptical arc command. Yaroslav Ponomarenko #114
- Added API for drawing via CoreGraphics. Fjölnir Ásgeirsson fb4c17bc621f707ee40deff3aec46826a9ec0c4b
- Add
SVGDrawPathsWithBlock
. Fjölnir Ásgeirsson 7aba0fa2d580cfae351c11ddd327e5af91832bff - Add support for
<polyline>
. Fjölnir Ásgeirsson ab272c75ab66650f319e1f6be0844fa25a00332d
- Fixed incorrect transform. Florent Pillet #90
- Retain
CGColorRefs
for non-default colours. #115 - Documentation issues. Noah Gilmore efb22b9f31d84eefb8f34355e40bcf15c8d68d4f
- Bug when
_attributes
was nil. AceSha #103 - Make CODE_SIGN_STYLE = Automatic. Anders Back #106
- Use svgAttributes when generating SVGRepresentation for SVGBezierPath. Michał Ciuba #113
- Made framework specify extension safety. Fjölnir Ásgeirsson (69eebdd60186f8b312bd62ec94c6740d4f60ff4c)[https://github.com/pocketsvg/PocketSVG/commit/69eebdd60186f8b312bd62ec94c6740d4f60ff4c]
2.2.1 2017-03-30
- Broken initialization. Fjölnir Ásgeirsson 41ef1b6fef1178ac4f0e54c7dbb6db6a72deb935
2.2.0 - 2017-02-27
- Made svgNamed use urlForResource. Fjölnir Ásgeirsson 49f926ccd0781d22b52ab26fb18541a57b70bf57
- Unbroke SVGBezierPath file cache. Fjölnir Ásgeirsson b1353a156ef432d100f0ba29878dbdbc3ee752d1
2.1.1 - 2017-01-15
- add stc++ to podspec required libs
2.1.0 - 2017-01-15
- Support for parsing ellipses. Sam Corder #76
2.1.0 - 2017-01-15
- Support for parsing ellipses. Sam Corder #76
- missing initializer, missing
setSvgURL
method to clear contents and render a new SVG given the URL of the SVG, support for "fill-rule" tag, support for rotating around a point. Dunja Lalic #67
2.0.0 - 2016-10-06
Major refactor by Fjölnir Ásgeirsson to improve parser efficiency and support more SVG operations: #47
SVGLayer
,SVGBezierPath
,SVGEngine
,SVGImageView
,SVGPortability
(replacesPocketSVG
class.)
0.7 - 2015-11-05
- Travis CI to check if project builds properly. Ariel Elkin.
- Support for Carthage. Johan T. Halseth 1c45b8b1f159e1b9467afe4cde05a670f4c5ee33
- dynamic Interface Builder compatibility. Nathan F Johnson #36
- Support Quadratic Bézier paths. Daniel Worku #34
- add OS X deployment target to podspec. iamdoron #31
- SVG rendering bug. Haris Amin hamin #35
0.6 - 2014-03-06
pathFromSVGString
andpathFromDAttribute
factory methods. Daniel Schlaug #22
0.5 - 2014-02-11
Changes by Ariel Elkin unless otherwise specified.
- Add files from Martin Haywood's SVG to bezier path parser
- README file with usage instructions.
- .gitignore
- Demo code and files.
initFromSVGFileNamed
method.- Improved error handling.
- Improved OSX compatibility. mcianni #4
- Support for SVG files exported by Sketch. JagieChen #14
- Support for Cocoapods (add LICENSE file and podspec). Boris Bügling #16
- Init from file URL. Jorge Mendez #19
- Parsing bugs. Pieter Omvlee 122994696c2f2936c30cf67fa62c0ea1fb2a5a79
- Distortion of aspect ratio. Dominic Mortlock 676507cbafe27c77e8ac74b6da42324c73acdbe1
- File headers to include license information.
- Converted Martin's parser to ARC.
- Substituted CC license with MIT license.