GenerallyHelpfulSoftware / SVGgh

A framework for using SVG artwork in iOS Apps. Includes a UIView and a button class, printing and PDF export.
MIT License
141 stars 38 forks source link

Can't build on Xcode 6 "SVGParser.m:35:1: Type of property 'NSMutableDictionary * __nullable' in class extension does not match property type in primary class" #14

Closed taher-mosbah closed 8 years ago

taher-mosbah commented 8 years ago

Hello,

I can't get the project to build on Xcode 6, with the following error : SVGParser.m:35:1: Type of property 'NSMutableDictionary * __nullable' in class extension does not match property type in primary class.

The error is obvious, root is declared as NSDictionnary and then as an NSMutableDictionnary on the clas extension, I don't really know why this works on Xcode 7.

grhowes commented 8 years ago

Try what I just checked into the develop branch. https://github.com/GenerallyHelpfulSoftware/SVGgh/blob/development/SVGgh/SVG/SVGParser.m

taher-mosbah commented 8 years ago

Thank you that fixed the error, but there is another problem on SVGghDebuggingViewController.m L84 : the _Nonnull in the UIAlertAction is not accepted.

taher-mosbah commented 8 years ago

I see that your commit e3f457c fixed the issue, can we get a pods release please ? Thank you.

grhowes commented 8 years ago

OK submitted a new cocoa pod. 1.3.0 as it will change the rendering appearance for some small number of SVG files.