make iOS 10.3 and Xcode 8.3 compatible (#345)

recompile SvgGh library with new code singature needed by iOS 10.3
This commit is contained in:
Andre Höpfner
2017-04-08 19:32:18 +02:00
committed by Emux
parent e1d17321c6
commit f0639972b4
10 changed files with 435 additions and 11 deletions

View File

@@ -195,7 +195,7 @@ typedef NSUInteger ColorScheme;
+(CGPathRef) newRoundRectPathForRect:(CGRect)aRect withRadius:(CGFloat) radius CF_RETURNS_RETAINED;
/*! @brief utility routine to find the location of an SVG document relative to a provided bundle
* @param an optional bundle containing the artwork
* @param mayBeNil optional bundle containing the artwork
* @param theArtworkPath subpath within a bundle does not include the .svg extension which is assumed.
*/
+(nullable NSURL*) locateArtworkForBundle:(nullable NSBundle*)mayBeNil atSubpath:(NSString*)theArtworkPath;
@@ -207,8 +207,7 @@ typedef NSUInteger ColorScheme;
+(nullable NSURL*) locateArtworkForObject:(id<NSObject>)anObject atSubpath:(NSString*)theArtworkPath; // for compatibility
/*! @brief utility routine to locate a URL inside your project when using Interface Builder's IB_DESIGNABLE service
* @param anObject for instance a GHButton
* @param theArtworkPath subpath within a bundle does not include the .svg extension which is assumed.
* @param artworkSubPath subpath within a bundle does not include the .svg extension which is assumed.
*/
+(nullable NSURL*) findInterfaceBuilderArtwork:(NSString*)artworkSubPath;