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

Error in pod's version of library #30

Closed v-yatsevich closed 7 years ago

v-yatsevich commented 7 years ago

When I use SVGgh from pod, there is error in SVGRendererLayer.m, in 239 line

if(myBackgroundColor == 0 && [self.delegate respondsToSelector:@selector(copyFillColor)])
{
    UIColor* delegatesColor = [self.delegate copyFillColor];
    myBackgroundColor = delegatesColor.CGColor;
    CGColorRetain(myBackgroundColor);
}

error SVGRendererLayer.m:239:66: No known instance method for selector 'copyFillColor'

And in project is downloaded from master it's already fixed.

grhowes commented 7 years ago

Thanks for the heads up. I have provided a 1.8.0 version for cocoa pods. (The bump in version is because this will include a change in how the opacity property is handled for g elements. Which is a pretty uncommon thing.)

Sorry for your inconvenience.