GenerallyHelpfulSoftware / SVGgh

A framework for using SVG artwork in iOS Apps. Includes a UIView and a button class, printing and PDF export.
MIT License
142 stars 37 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 9 years ago

taher-mosbah commented 9 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 9 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 9 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 9 years ago

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

grhowes commented 9 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.