diff --git a/Cartfile b/Cartfile index c7cf3febb8..fb2a8d4a7e 100644 --- a/Cartfile +++ b/Cartfile @@ -1,16 +1,16 @@ -github "nextcloud/ios-communication-library" "v0.74" -github "tilltue/TLPhotoPicker" "2.0.11" +github "nextcloud/ios-communication-library" "v0.75" +github "tilltue/TLPhotoPicker" "2.0.12" github "kishikawakatsumi/UICKeyChainStore" "v2.1.2" github "MortimerGoro/MGSwipeTableCell" "1.6.8" github "dzenbot/DZNEmptyDataSet" "v1.8.1" github "jdg/MBProgressHUD" "1.1.0" -github "realm/realm-cocoa" +github "realm/realm-cocoa" "v5.3.2" github "SVGKit/SVGKit" "3.x" github "WeTransfer/WeScan" "1.2.0" github "malcommac/SwiftRichString" github "yannickl/QRCodeReader.swift" "10.1.1" github "weichsel/ZIPFoundation" "0.9.10" -github "rechsteiner/Parchment" "v1.7.0" +github "rechsteiner/Parchment" "v2.4.0" github "WenchaoD/FSCalendar" "2.8.0" github "AssistoLab/DropDown" "v2.3.13" github "krzyzanowskim/OpenSSL" "1.0.218" @@ -19,7 +19,7 @@ github "scenee/FloatingPanel" github "ivanbruel/MarkdownKit" github "getsentry/sentry-cocoa" github "FabrizioBrancati/Queuer" +github "xmartlabs/XLForm" ~> 4.1 github "https://github.com/marinofaggiana/KTVHTTPCache" "2.0.2" -github "https://github.com/marinofaggiana/XLForm" "master" github "https://github.com/marinofaggiana/TOPasscodeViewController" "0.0.7" diff --git a/Cartfile.resolved b/Cartfile.resolved index 8abced9e37..0d34e859bd 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -1,14 +1,14 @@ -github "Alamofire/Alamofire" "5.2.1" +github "Alamofire/Alamofire" "5.2.2" github "AssistoLab/DropDown" "v2.3.13" github "CocoaLumberjack/CocoaLumberjack" "3.6.1" github "FabrizioBrancati/Queuer" "2.1.1" github "MortimerGoro/MGSwipeTableCell" "1.6.8" -github "SVGKit/SVGKit" "2a4068f0ea546dcd82f7e4dd9aa9026c0a0a2235" +github "SVGKit/SVGKit" "9240977515c04053f8c96c9dfdb764dc7b98b9ba" github "SwiftyJSON/SwiftyJSON" "5.0.0" github "WeTransfer/WeScan" "1.2.0" github "WenchaoD/FSCalendar" "2.8.0" github "dzenbot/DZNEmptyDataSet" "v1.8.1" -github "getsentry/sentry-cocoa" "5.1.8" +github "getsentry/sentry-cocoa" "5.1.10" github "huri000/QuickLayout" "3.0.0" github "huri000/SwiftEntryKit" "1.2.3" github "ivanbruel/MarkdownKit" "1.6" @@ -18,12 +18,12 @@ github "krzyzanowskim/OpenSSL" "1.0.218" github "malcommac/SwiftRichString" "3.7.2" github "marinofaggiana/KTVHTTPCache" "2.0.2" github "marinofaggiana/TOPasscodeViewController" "0.0.7" -github "marinofaggiana/XLForm" "eb9381ad8129f60402bf412250fb31b95a628a08" -github "nextcloud/ios-communication-library" "v0.74" -github "realm/realm-cocoa" "v5.2.0" -github "rechsteiner/Parchment" "v1.7.0" +github "nextcloud/ios-communication-library" "v0.75" +github "realm/realm-cocoa" "v5.3.2" +github "rechsteiner/Parchment" "v2.4.0" github "scenee/FloatingPanel" "v1.7.5" -github "tilltue/TLPhotoPicker" "2.0.11" +github "tilltue/TLPhotoPicker" "2.0.12" github "weichsel/ZIPFoundation" "0.9.10" +github "xmartlabs/XLForm" "4.1.0" github "yahoojapan/SwiftyXMLParser" "5.2.0" github "yannickl/QRCodeReader.swift" "10.1.1" diff --git a/Carthage/Checkouts/SVGKit/SVGKit.podspec b/Carthage/Checkouts/SVGKit/SVGKit.podspec index 6762af3d1f..673dea9c9b 100644 --- a/Carthage/Checkouts/SVGKit/SVGKit.podspec +++ b/Carthage/Checkouts/SVGKit/SVGKit.podspec @@ -17,13 +17,10 @@ Pod::Spec.new do |s| s.source = { :git => 'https://github.com/SVGKit/SVGKit.git', :tag => s.version.to_s } s.source_files = 'Source/*.{h,m}', 'Source/**/*.{h,m}' - s.ios.exclude_files = 'Source/AppKit additions/*.{h,m}', 'Source/Exporters/SVGKExporterNSImage.{h,m}' - s.tvos.exclude_files = 'Source/AppKit additions/*.{h,m}', 'Source/Exporters/SVGKExporterNSImage.{h,m}' - s.osx.exclude_files = 'Source/Exporters/SVGKExporterUIImage.{h,m}' + s.exclude_files = 'Source/include/*.h' s.libraries = 'xml2' s.framework = 'QuartzCore', 'CoreText' s.dependency 'CocoaLumberjack', '~> 3.0' - s.prefix_header_file = 'SVGKitLibrary/SVGKit-iOS/SVGKit-Prefix.pch' s.module_map = 'SVGKitLibrary/SVGKit-iOS/SVGKit.modulemap' s.requires_arc = true s.pod_target_xcconfig = { diff --git a/Carthage/Checkouts/SVGKit/SVGKitLibrary/SVGKit-iOS/SVGKit-Prefix.pch b/Carthage/Checkouts/SVGKit/SVGKitLibrary/SVGKit-iOS/SVGKit-Prefix.pch deleted file mode 100644 index ed3cd4d4c7..0000000000 --- a/Carthage/Checkouts/SVGKit/SVGKitLibrary/SVGKit-iOS/SVGKit-Prefix.pch +++ /dev/null @@ -1,31 +0,0 @@ -// -// Prefix header for all source files of the 'SVGKit-iOS' target in the 'SVGKit-iOS' project -// - -#ifdef __OBJC__ -#import -#import -#import "SVGKDefine.h" - -// These macro is only used inside framework project, does not expose to public header and effect user's define - -#define SVGKIT_LOG_CONTEXT 556 - -#define SVGKitLogError(frmt, ...) LOG_MAYBE(NO, LOG_LEVEL_DEF, DDLogFlagError, SVGKIT_LOG_CONTEXT, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__) -#define SVGKitLogWarn(frmt, ...) LOG_MAYBE(LOG_ASYNC_ENABLED, LOG_LEVEL_DEF, DDLogFlagWarning, SVGKIT_LOG_CONTEXT, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__) -#define SVGKitLogInfo(frmt, ...) LOG_MAYBE(LOG_ASYNC_ENABLED, LOG_LEVEL_DEF, DDLogFlagInfo, SVGKIT_LOG_CONTEXT, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__) -#define SVGKitLogDebug(frmt, ...) LOG_MAYBE(LOG_ASYNC_ENABLED, LOG_LEVEL_DEF, DDLogFlagDebug, SVGKIT_LOG_CONTEXT, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__) -#define SVGKitLogVerbose(frmt, ...) LOG_MAYBE(LOG_ASYNC_ENABLED, LOG_LEVEL_DEF, DDLogFlagVerbose, SVGKIT_LOG_CONTEXT, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__) - -#if DEBUG -static const int ddLogLevel = DDLogLevelVerbose; -#else -static const int ddLogLevel = DDLogLevelWarning; -#endif - -#if SVGKIT_MAC -#define NSStringFromCGRect(rect) NSStringFromRect(rect) -#define NSStringFromCGSize(size) NSStringFromSize(size) -#define NSStringFromCGPoint(point) NSStringFromPoint(point) -#endif -#endif diff --git a/Carthage/Checkouts/SVGKit/Source/AppKit additions/SVGKImageRep.h b/Carthage/Checkouts/SVGKit/Source/AppKit additions/SVGKImageRep.h index d68c9de2da..2082a44119 100644 --- a/Carthage/Checkouts/SVGKit/Source/AppKit additions/SVGKImageRep.h +++ b/Carthage/Checkouts/SVGKit/Source/AppKit additions/SVGKImageRep.h @@ -6,6 +6,9 @@ // // +#import "SVGKDefine.h" + +#if SVGKIT_MAC #import @class SVGKImage; @class SVGKSource; @@ -36,3 +39,5 @@ + (void)unloadSVGKImageRep; @end + +#endif /* SVGKIT_MAC */ diff --git a/Carthage/Checkouts/SVGKit/Source/AppKit additions/SVGKImageRep.m b/Carthage/Checkouts/SVGKit/Source/AppKit additions/SVGKImageRep.m index 4baf533c51..04204e48a0 100644 --- a/Carthage/Checkouts/SVGKit/Source/AppKit additions/SVGKImageRep.m +++ b/Carthage/Checkouts/SVGKit/Source/AppKit additions/SVGKImageRep.m @@ -7,11 +7,12 @@ // #import "SVGKit.h" + +#if SVGKIT_MAC #import "SVGKSourceNSData.h" #import "SVGKSourceLocalFile.h" #import "SVGKSourceURL.h" #import "SVGKSourceString.h" -#import "SVGKFastImageView.h" #import "SVGKImageRep.h" #import "SVGKImage+CGContext.h" #include @@ -288,3 +289,5 @@ - (void)encodeWithCoder:(NSCoder *)aCoder } @end + +#endif /* SVGKIT_MAC */ diff --git a/Carthage/Checkouts/SVGKit/Source/DOM classes/Core DOM/CSSStyleDeclaration.m b/Carthage/Checkouts/SVGKit/Source/DOM classes/Core DOM/CSSStyleDeclaration.m index 18e2135a2b..6be5bc2186 100644 --- a/Carthage/Checkouts/SVGKit/Source/DOM classes/Core DOM/CSSStyleDeclaration.m +++ b/Carthage/Checkouts/SVGKit/Source/DOM classes/Core DOM/CSSStyleDeclaration.m @@ -5,6 +5,8 @@ #import "CSSPrimitiveValue.h" #import "CocoaLumberjack/DDFileLogger.h" +#import "SVGKDefine_Private.h" + @interface CSSStyleDeclaration() @property(nonatomic,strong) NSMutableDictionary* internalDictionaryOfStylesByCSSClass; diff --git a/Carthage/Checkouts/SVGKit/Source/DOM classes/Core DOM/CSSValueList.m b/Carthage/Checkouts/SVGKit/Source/DOM classes/Core DOM/CSSValueList.m index 665afcdc4c..ebe542a71b 100644 --- a/Carthage/Checkouts/SVGKit/Source/DOM classes/Core DOM/CSSValueList.m +++ b/Carthage/Checkouts/SVGKit/Source/DOM classes/Core DOM/CSSValueList.m @@ -1,5 +1,6 @@ #import "CSSValueList.h" #import "CSSValue_ForSubclasses.h" +#import "SVGKDefine_Private.h" @interface CSSValueList() diff --git a/Carthage/Checkouts/SVGKit/Source/DOM classes/Core DOM/Document.m b/Carthage/Checkouts/SVGKit/Source/DOM classes/Core DOM/Document.m index f9ce5facd5..0c2bc8c9a6 100644 --- a/Carthage/Checkouts/SVGKit/Source/DOM classes/Core DOM/Document.m +++ b/Carthage/Checkouts/SVGKit/Source/DOM classes/Core DOM/Document.m @@ -5,6 +5,8 @@ #import "NodeList+Mutable.h" // needed for access to underlying array, because SVG doesnt specify how lists are made mutable +#import "SVGKDefine_Private.h" + @implementation Document @synthesize doctype; diff --git a/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGClipPathElement.m b/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGClipPathElement.m index 96b25e5e90..7e9a1fb83f 100644 --- a/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGClipPathElement.m +++ b/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGClipPathElement.m @@ -4,6 +4,8 @@ #import "SVGHelperUtilities.h" +#import "SVGKDefine_Private.h" + @implementation SVGClipPathElement @synthesize clipPathUnits; diff --git a/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGDocument.m b/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGDocument.m index 28de3d59c2..108a9d6fa8 100644 --- a/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGDocument.m +++ b/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGDocument.m @@ -13,6 +13,8 @@ #import "NamedNodeMap_Iterable.h" // needed for the allPrefixesByNamespace implementation +#import "SVGKDefine_Private.h" + @implementation SVGDocument diff --git a/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGHelperUtilities.m b/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGHelperUtilities.m index 6e7f33895d..291c9a9757 100644 --- a/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGHelperUtilities.m +++ b/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGHelperUtilities.m @@ -9,6 +9,8 @@ #import "SVGSVGElement.h" #import "SVGGradientLayer.h" +#import "SVGKDefine_Private.h" + @implementation SVGHelperUtilities diff --git a/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGLength.m b/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGLength.m index cc336995a2..c67a7ca5b5 100644 --- a/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGLength.m +++ b/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGLength.m @@ -4,6 +4,7 @@ #import "CSSPrimitiveValue_ConfigurablePixelsPerInch.h" #import "SVGUtils.h" +#import "SVGKDefine_Private.h" #include #include diff --git a/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGRect.m b/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGRect.m index 9525d1e4f0..cff0073dec 100644 --- a/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGRect.m +++ b/Carthage/Checkouts/SVGKit/Source/DOM classes/SVG-DOM/SVGRect.m @@ -1,4 +1,5 @@ #import "SVGRect.h" +#import "SVGKDefine_Private.h" BOOL SVGRectIsInitialized( SVGRect rect ) { diff --git a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGCircleElement.m b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGCircleElement.m index 855c5613eb..0dc06ace9f 100644 --- a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGCircleElement.m +++ b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGCircleElement.m @@ -6,6 +6,7 @@ // #import "SVGCircleElement.h" +#import "SVGKDefine_Private.h" @implementation SVGCircleElement diff --git a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGElement.m b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGElement.m index 2b22c54cbd..4164e7246a 100644 --- a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGElement.m +++ b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGElement.m @@ -20,6 +20,8 @@ #import "SVGTransformable.h" +#import "SVGKDefine_Private.h" + @interface SVGElement () @property (nonatomic, copy) NSString *stringValue; diff --git a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGGradientElement.m b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGGradientElement.m index 481ee4f36d..8e8aa61f7f 100644 --- a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGGradientElement.m +++ b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGGradientElement.m @@ -5,6 +5,7 @@ #import "SVGGElement.h" #import "SVGLinearGradientElement.h" #import "SVGRadialGradientElement.h" +#import "SVGKDefine_Private.h" @implementation SVGGradientElement diff --git a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGImageElement.m b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGImageElement.m index e929967ab9..99704ec87b 100644 --- a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGImageElement.m +++ b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGImageElement.m @@ -9,6 +9,8 @@ #import "SVGKSourceNSData.h" #import "SVGKInlineResource.h" +#import "SVGKDefine_Private.h" + CGImageRef SVGImageCGImage(UIImage *img) { #if SVGKIT_UIKIT diff --git a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGLinearGradientElement.m b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGLinearGradientElement.m index 8bc83e38e5..d3ac80b593 100644 --- a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGLinearGradientElement.m +++ b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGLinearGradientElement.m @@ -9,6 +9,7 @@ #import "SVGLinearGradientElement.h" #import "SVGElement_ForParser.h" #import "SVGGradientLayer.h" +#import "SVGKDefine_Private.h" @interface SVGLinearGradientElement () diff --git a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGPathElement.m b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGPathElement.m index 823d178358..35d9607e06 100644 --- a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGPathElement.m +++ b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGPathElement.m @@ -12,6 +12,8 @@ #import "SVGElement_ForParser.h" // to resolve Xcode circular dependencies; in long term, parsing SHOULD NOT HAPPEN inside any class whose name starts "SVG" (because those are reserved classes for the SVG Spec) +#import "SVGKDefine_Private.h" + @interface SVGPathElement () - (void) parseData:(NSString *)data; diff --git a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGRadialGradientElement.m b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGRadialGradientElement.m index a0867512c8..2138d168a5 100644 --- a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGRadialGradientElement.m +++ b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGRadialGradientElement.m @@ -10,6 +10,7 @@ #import "SVGElement_ForParser.h" #import "SVGUtils.h" #import "SVGGradientLayer.h" +#import "SVGKDefine_Private.h" // `kCAGradientLayerRadial` this symbol is available since iOS 3.2/tvOS 9.0/macOS 10.6, but it's not externed to public header until Xcode 10 with iOS 12 SDK, so we define it for user who still use old SDK version. #define kCAGradientLayerRadial @"radial" diff --git a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGSVGElement.m b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGSVGElement.m index 00fa693d31..8137481c8a 100644 --- a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGSVGElement.m +++ b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGSVGElement.m @@ -7,6 +7,8 @@ #import "SVGElement_ForParser.h" // to resolve Xcode circular dependencies; in long term, parsing SHOULD NOT HAPPEN inside any class whose name starts "SVG" (because those are reserved classes for the SVG Spec) +#import "SVGKDefine_Private.h" + @interface SVGSVGElement() #pragma mark - elements REQUIRED to implement the spec but not included in SVG Spec due to bugs in the spec writing! @property(nonatomic,readwrite) SVGRect requestedViewport; diff --git a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGTextElement.m b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGTextElement.m index 0ac9dd525f..f425e0f368 100644 --- a/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGTextElement.m +++ b/Carthage/Checkouts/SVGKit/Source/DOM classes/Unported or Partial DOM/SVGTextElement.m @@ -6,6 +6,7 @@ #import "SVGHelperUtilities.h" #import "SVGUtils.h" #import "SVGTextLayer.h" +#import "SVGKDefine_Private.h" @implementation SVGTextElement diff --git a/Carthage/Checkouts/SVGKit/Source/Exporters/SVGKExporterNSImage.h b/Carthage/Checkouts/SVGKit/Source/Exporters/SVGKExporterNSImage.h index 5e6eecb45b..42251d3a1e 100644 --- a/Carthage/Checkouts/SVGKit/Source/Exporters/SVGKExporterNSImage.h +++ b/Carthage/Checkouts/SVGKit/Source/Exporters/SVGKExporterNSImage.h @@ -3,6 +3,10 @@ Uses the default color format from UIGraphicsBeginImageContextWithOptions(...) */ + +#import "SVGKDefine.h" + +#if SVGKIT_MAC #import #import "SVGKImage.h" @@ -29,3 +33,5 @@ +(NSImage*) exportAsNSImage:(SVGKImage*) image antiAliased:(BOOL) shouldAntialias curveFlatnessFactor:(CGFloat) multiplyFlatness interpolationQuality:(CGInterpolationQuality) interpolationQuality; @end + +#endif /* SVGKIT_MAC */ diff --git a/Carthage/Checkouts/SVGKit/Source/Exporters/SVGKExporterNSImage.m b/Carthage/Checkouts/SVGKit/Source/Exporters/SVGKExporterNSImage.m index f8340a4835..ccb5cfaf0f 100644 --- a/Carthage/Checkouts/SVGKit/Source/Exporters/SVGKExporterNSImage.m +++ b/Carthage/Checkouts/SVGKit/Source/Exporters/SVGKExporterNSImage.m @@ -1,7 +1,10 @@ #import "SVGKExporterNSImage.h" + +#if SVGKIT_MAC #import "SVGUtils.h" #import "SVGKImage+CGContext.h" // needed for Context calls #import +#import "SVGKDefine_Private.h" @implementation SVGKExporterNSImage @@ -133,3 +136,5 @@ static void SVGKGraphicsEndImageContext(void) { } @end + +#endif /* SVGKIT_MAC */ diff --git a/Carthage/Checkouts/SVGKit/Source/Exporters/SVGKExporterUIImage.m b/Carthage/Checkouts/SVGKit/Source/Exporters/SVGKExporterUIImage.m index d218e0f0a1..0f0b66e892 100644 --- a/Carthage/Checkouts/SVGKit/Source/Exporters/SVGKExporterUIImage.m +++ b/Carthage/Checkouts/SVGKit/Source/Exporters/SVGKExporterUIImage.m @@ -1,5 +1,7 @@ #import "SVGKExporterUIImage.h" +#import "SVGKDefine_Private.h" +#if SVGKIT_UIKIT #import "SVGKImage+CGContext.h" // needed for Context calls @implementation SVGKExporterUIImage @@ -35,3 +37,5 @@ +(UIImage*) exportAsUIImage:(SVGKImage*) image antiAliased:(BOOL) shouldAntialia } @end + +#endif /* SVGKIT_UIKIT */ diff --git a/Carthage/Checkouts/SVGKit/Source/Exporters/SVGKImage+CGContext.m b/Carthage/Checkouts/SVGKit/Source/Exporters/SVGKImage+CGContext.m index 7e402f4f07..88cc7ffa00 100644 --- a/Carthage/Checkouts/SVGKit/Source/Exporters/SVGKImage+CGContext.m +++ b/Carthage/Checkouts/SVGKit/Source/Exporters/SVGKImage+CGContext.m @@ -11,6 +11,8 @@ #import "SVGRect.h" #import "SVGSVGElement.h" +#import "SVGKDefine_Private.h" + @implementation SVGKImage (CGContext) -(CGContextRef) newCGContextAutosizedToFit diff --git a/Carthage/Checkouts/SVGKit/Source/Foundation additions/NSCharacterSet+SVGKExtensions.m b/Carthage/Checkouts/SVGKit/Source/Foundation additions/NSCharacterSet+SVGKExtensions.m index 8428809634..d35622c861 100644 --- a/Carthage/Checkouts/SVGKit/Source/Foundation additions/NSCharacterSet+SVGKExtensions.m +++ b/Carthage/Checkouts/SVGKit/Source/Foundation additions/NSCharacterSet+SVGKExtensions.m @@ -7,6 +7,7 @@ // #import "NSCharacterSet+SVGKExtensions.h" +#import "SVGKDefine_Private.h" @implementation NSCharacterSet (SVGKExtensions) diff --git a/Carthage/Checkouts/SVGKit/Source/Foundation additions/NSData+NSInputStream.m b/Carthage/Checkouts/SVGKit/Source/Foundation additions/NSData+NSInputStream.m index 967ec98e77..25d73c009c 100644 --- a/Carthage/Checkouts/SVGKit/Source/Foundation additions/NSData+NSInputStream.m +++ b/Carthage/Checkouts/SVGKit/Source/Foundation additions/NSData+NSInputStream.m @@ -7,7 +7,7 @@ // #import "NSData+NSInputStream.h" - +#import "SVGKDefine_Private.h" #define BUFSIZE 65536U diff --git a/Carthage/Checkouts/SVGKit/Source/Parsers/Parser Extensions/SVGKParserSVG.m b/Carthage/Checkouts/SVGKit/Source/Parsers/Parser Extensions/SVGKParserSVG.m index 172653ffe6..4b1ae5fe7b 100644 --- a/Carthage/Checkouts/SVGKit/Source/Parsers/Parser Extensions/SVGKParserSVG.m +++ b/Carthage/Checkouts/SVGKit/Source/Parsers/Parser Extensions/SVGKParserSVG.m @@ -21,6 +21,8 @@ #import "SVGDocument_Mutable.h" +#import "SVGKDefine_Private.h" + @interface SVGKParserSVG () @property (nonatomic) NSArray *supportedNamespaces; @property (nonatomic) NSDictionary *elementMap; diff --git a/Carthage/Checkouts/SVGKit/Source/Parsers/SVGKParseResult.m b/Carthage/Checkouts/SVGKit/Source/Parsers/SVGKParseResult.m index 7d85e73bc5..26ddc08382 100644 --- a/Carthage/Checkouts/SVGKit/Source/Parsers/SVGKParseResult.m +++ b/Carthage/Checkouts/SVGKit/Source/Parsers/SVGKParseResult.m @@ -1,4 +1,5 @@ #import "SVGKParseResult.h" +#import "SVGKDefine_Private.h" @implementation SVGKParseResult diff --git a/Carthage/Checkouts/SVGKit/Source/Parsers/SVGKParser.m b/Carthage/Checkouts/SVGKit/Source/Parsers/SVGKParser.m index edf62daace..521c2beb5c 100644 --- a/Carthage/Checkouts/SVGKit/Source/Parsers/SVGKParser.m +++ b/Carthage/Checkouts/SVGKit/Source/Parsers/SVGKParser.m @@ -31,6 +31,8 @@ #import "StyleSheetList+Mutable.h" #import "NSData+NSInputStream.h" +#import "SVGKDefine_Private.h" + @interface SVGKParser() @property(nonatomic,strong, readwrite) SVGKSource* source; @property(nonatomic,strong, readwrite) NSMutableArray* externalStylesheets; diff --git a/Carthage/Checkouts/SVGKit/Source/QuartzCore additions/CALayerWithClipRender.m b/Carthage/Checkouts/SVGKit/Source/QuartzCore additions/CALayerWithClipRender.m index daeec18f14..8b64781da9 100644 --- a/Carthage/Checkouts/SVGKit/Source/QuartzCore additions/CALayerWithClipRender.m +++ b/Carthage/Checkouts/SVGKit/Source/QuartzCore additions/CALayerWithClipRender.m @@ -7,6 +7,11 @@ // #import "CALayerWithClipRender.h" +#import "SVGKDefine.h" + +#if SVGKIT_UIKIT +#import +#endif @interface CALayer (ContentsTransform) diff --git a/Carthage/Checkouts/SVGKit/Source/QuartzCore additions/CAShapeLayerWithHitTest.m b/Carthage/Checkouts/SVGKit/Source/QuartzCore additions/CAShapeLayerWithHitTest.m index 6c24acc115..f0b7379d18 100644 --- a/Carthage/Checkouts/SVGKit/Source/QuartzCore additions/CAShapeLayerWithHitTest.m +++ b/Carthage/Checkouts/SVGKit/Source/QuartzCore additions/CAShapeLayerWithHitTest.m @@ -1,4 +1,5 @@ #import "CAShapeLayerWithHitTest.h" +#import "SVGKDefine_Private.h" /*! Used by the main ShapeElement (and all subclasses) to do perfect "containsPoint" calculations via Apple's API calls diff --git a/Carthage/Checkouts/SVGKit/Source/QuartzCore additions/CGPathAdditions.m b/Carthage/Checkouts/SVGKit/Source/QuartzCore additions/CGPathAdditions.m index 968d2b211c..c7720a2ae2 100644 --- a/Carthage/Checkouts/SVGKit/Source/QuartzCore additions/CGPathAdditions.m +++ b/Carthage/Checkouts/SVGKit/Source/QuartzCore additions/CGPathAdditions.m @@ -6,6 +6,7 @@ // #import "CGPathAdditions.h" +#import void applier (void *info, const CGPathElement *element); diff --git a/Carthage/Checkouts/SVGKit/Source/QuartzCore additions/SVGGradientLayer.m b/Carthage/Checkouts/SVGKit/Source/QuartzCore additions/SVGGradientLayer.m index 6dbd4199de..f87db0506c 100644 --- a/Carthage/Checkouts/SVGKit/Source/QuartzCore additions/SVGGradientLayer.m +++ b/Carthage/Checkouts/SVGKit/Source/QuartzCore additions/SVGGradientLayer.m @@ -10,6 +10,7 @@ #import "SVGRadialGradientElement.h" #import "SVGLinearGradientElement.h" #import "CALayerWithClipRender.h" +#import "SVGKDefine_Private.h" @implementation SVGGradientLayer diff --git a/Carthage/Checkouts/SVGKit/Source/SVGKImage.m b/Carthage/Checkouts/SVGKit/Source/SVGKImage.m index 6303143430..897681abd0 100644 --- a/Carthage/Checkouts/SVGKit/Source/SVGKImage.m +++ b/Carthage/Checkouts/SVGKit/Source/SVGKImage.m @@ -25,6 +25,8 @@ #import "SVGKExporterUIImage.h" // needed for .UIImage property #endif +#import "SVGKDefine_Private.h" + #if ENABLE_GLOBAL_IMAGE_CACHE_FOR_SVGKIMAGE_IMAGE_NAMED @interface SVGKImageCacheLine : NSObject @property(nonatomic) int numberOfInstances; diff --git a/Carthage/Checkouts/SVGKit/Source/SVGKit.h b/Carthage/Checkouts/SVGKit/Source/SVGKit.h index 32c9111278..b25b965bab 100644 --- a/Carthage/Checkouts/SVGKit/Source/SVGKit.h +++ b/Carthage/Checkouts/SVGKit/Source/SVGKit.h @@ -163,9 +163,11 @@ FOUNDATION_EXPORT const unsigned char SVGKitFramework_VersionString[]; #import "SVGKImage.h" #import "SVGKSource.h" #import "NSCharacterSet+SVGKExtensions.h" +#if SVGKIT_UIKIT #import "SVGKFastImageView.h" #import "SVGKImageView.h" #import "SVGKLayeredImageView.h" +#endif #import "SVGKPattern.h" #import "SVGUtils.h" #if SVGKIT_MAC diff --git a/Carthage/Checkouts/SVGKit/Source/Sources/SVGKSourceLocalFile.m b/Carthage/Checkouts/SVGKit/Source/Sources/SVGKSourceLocalFile.m index 03afd5d0bb..956f1cdd20 100644 --- a/Carthage/Checkouts/SVGKit/Source/Sources/SVGKSourceLocalFile.m +++ b/Carthage/Checkouts/SVGKit/Source/Sources/SVGKSourceLocalFile.m @@ -1,4 +1,5 @@ #import "SVGKSourceLocalFile.h" +#import "SVGKDefine_Private.h" @interface SVGKSourceLocalFile() @property (nonatomic, readwrite) BOOL wasRelative; diff --git a/Carthage/Checkouts/SVGKit/Source/Sources/SVGKSourceNSData.m b/Carthage/Checkouts/SVGKit/Source/Sources/SVGKSourceNSData.m index e407e7cece..0d81a8f3a5 100644 --- a/Carthage/Checkouts/SVGKit/Source/Sources/SVGKSourceNSData.m +++ b/Carthage/Checkouts/SVGKit/Source/Sources/SVGKSourceNSData.m @@ -1,6 +1,7 @@ #import "SVGKSourceNSData.h" #import "SVGKSourceURL.h" // used for delegating when asked to construct relative links +#import "SVGKDefine_Private.h" @implementation SVGKSourceNSData diff --git a/Carthage/Checkouts/SVGKit/Source/Sources/SVGKSourceURL.m b/Carthage/Checkouts/SVGKit/Source/Sources/SVGKSourceURL.m index e8fef7c166..0437ba1784 100644 --- a/Carthage/Checkouts/SVGKit/Source/Sources/SVGKSourceURL.m +++ b/Carthage/Checkouts/SVGKit/Source/Sources/SVGKSourceURL.m @@ -1,4 +1,5 @@ #import "SVGKSourceURL.h" +#import "SVGKDefine_Private.h" @implementation SVGKSourceURL diff --git a/Carthage/Checkouts/SVGKit/Source/UIKit additions/SVGKFastImageView.m b/Carthage/Checkouts/SVGKit/Source/UIKit additions/SVGKFastImageView.m index 6cac8e5924..d8d66f324b 100644 --- a/Carthage/Checkouts/SVGKit/Source/UIKit additions/SVGKFastImageView.m +++ b/Carthage/Checkouts/SVGKit/Source/UIKit additions/SVGKFastImageView.m @@ -1,4 +1,5 @@ #import "SVGKFastImageView.h" +#import "SVGKDefine_Private.h" @interface SVGKFastImageView () @property(nonatomic,readwrite) NSTimeInterval timeIntervalForLastReRenderOfSVGFromMemory; diff --git a/Carthage/Checkouts/SVGKit/Source/UIKit additions/SVGKLayeredImageView.m b/Carthage/Checkouts/SVGKit/Source/UIKit additions/SVGKLayeredImageView.m index 571bb39749..062cf82cfa 100644 --- a/Carthage/Checkouts/SVGKit/Source/UIKit additions/SVGKLayeredImageView.m +++ b/Carthage/Checkouts/SVGKit/Source/UIKit additions/SVGKLayeredImageView.m @@ -5,6 +5,8 @@ #import "SVGKSourceString.h" #import "SVGKInlineResource.h" +#import "SVGKDefine_Private.h" + @interface SVGKLayeredImageView() @property(nonatomic,strong) CAShapeLayer* internalBorderLayer; @end diff --git a/Carthage/Checkouts/SVGKit/Source/Utils/SVGUtils.h b/Carthage/Checkouts/SVGKit/Source/Utils/SVGUtils.h index 092651f51d..01d5f71361 100644 --- a/Carthage/Checkouts/SVGKit/Source/Utils/SVGUtils.h +++ b/Carthage/Checkouts/SVGKit/Source/Utils/SVGUtils.h @@ -5,6 +5,7 @@ // Copyright Matt Rajca 2010-2011. All rights reserved. // +#import #import #import diff --git a/Carthage/Checkouts/SVGKit/Source/Utils/SVGUtils.m b/Carthage/Checkouts/SVGKit/Source/Utils/SVGUtils.m index 6166ab805f..48ef3a3c9b 100644 --- a/Carthage/Checkouts/SVGKit/Source/Utils/SVGUtils.m +++ b/Carthage/Checkouts/SVGKit/Source/Utils/SVGUtils.m @@ -6,6 +6,7 @@ // #import "SVGUtils.h" +#import "SVGKDefine_Private.h" #define MAX_ACCUM 64 #define NUM_COLORS 148 diff --git a/Carthage/Checkouts/TLPhotoPicker/Example/TLPhotoPicker/Base.lproj/Main.storyboard b/Carthage/Checkouts/TLPhotoPicker/Example/TLPhotoPicker/Base.lproj/Main.storyboard index b0eef35255..df2e036e6b 100644 --- a/Carthage/Checkouts/TLPhotoPicker/Example/TLPhotoPicker/Base.lproj/Main.storyboard +++ b/Carthage/Checkouts/TLPhotoPicker/Example/TLPhotoPicker/Base.lproj/Main.storyboard @@ -1,11 +1,9 @@ - - - - + + - + @@ -19,7 +17,7 @@ - + - +