From 439cc1e5c51e69c0ef6f8476dcb31df3cc5b1fa9 Mon Sep 17 00:00:00 2001 From: Reda Lemeden Date: Thu, 5 Jan 2017 01:19:12 +0100 Subject: [PATCH] Bump to v2.0 --- Demo/Demo.xcodeproj/project.pbxproj | 10 +- Demo/Source/Main.storyboard | 11 +- Demo/Source/UIImageViewExtension.swift | 28 +++++ Gifu.podspec | 2 +- .../xcshareddata/xcschemes/Gifu.xcscheme | 2 +- README.md | 42 +++++-- Source/Classes/GIFImageView.swift | 1 - Supporting Files/Info.plist | 4 +- docs/Classes.html | 2 +- docs/Classes/Animator.html | 2 +- docs/Classes/GIFImageView.html | 2 +- docs/Protocols.html | 2 +- docs/Protocols/GIFAnimatable.html | 116 +++++++++++++++--- docs/Protocols/ImageContainer.html | 2 +- .../Contents/Resources/Documents/Classes.html | 2 +- .../Resources/Documents/Classes/Animator.html | 2 +- .../Documents/Classes/GIFImageView.html | 2 +- .../Resources/Documents/Protocols.html | 2 +- .../Documents/Protocols/GIFAnimatable.html | 116 +++++++++++++++--- .../Documents/Protocols/ImageContainer.html | 2 +- .../Contents/Resources/Documents/index.html | 43 +++++-- .../Contents/Resources/docSet.dsidx | Bin 12288 -> 12288 bytes docs/docsets/Gifu.tgz | Bin 50863 -> 51585 bytes docs/index.html | 43 +++++-- 24 files changed, 363 insertions(+), 75 deletions(-) create mode 100644 Demo/Source/UIImageViewExtension.swift diff --git a/Demo/Demo.xcodeproj/project.pbxproj b/Demo/Demo.xcodeproj/project.pbxproj index 1071ac6..8108591 100755 --- a/Demo/Demo.xcodeproj/project.pbxproj +++ b/Demo/Demo.xcodeproj/project.pbxproj @@ -11,6 +11,7 @@ 002A1BFC1D1624D0005ABBD0 /* mugen.gif in Resources */ = {isa = PBXBuildFile; fileRef = 002A1BFB1D1624D0005ABBD0 /* mugen.gif */; }; 002FF5141D3A91340069CA56 /* Gifu.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002A1BF91D161D33005ABBD0 /* Gifu.framework */; }; 007380231B279644008DAD5C /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 007380221B279644008DAD5C /* Default-568h@2x.png */; }; + 00B2B8181E1DAB1C00A50D91 /* UIImageViewExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00B2B8171E1DAB1C00A50D91 /* UIImageViewExtension.swift */; }; 00DD26EB1DA5968500A0F683 /* EmptyViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00DD26EA1DA5968500A0F683 /* EmptyViewController.swift */; }; 9D98823D19BC69CA00B790C6 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9D98823C19BC69CA00B790C6 /* AppDelegate.swift */; }; 9D98823F19BC69CA00B790C6 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9D98823E19BC69CA00B790C6 /* ViewController.swift */; }; @@ -23,6 +24,7 @@ 002A1BF91D161D33005ABBD0 /* Gifu.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Gifu.framework; path = "../../../../Library/Developer/Xcode/DerivedData/Gifu-gwslszlwadetledwfipapwloqzrw/Build/Products/Debug-iphonesimulator/Gifu.framework"; sourceTree = ""; }; 002A1BFB1D1624D0005ABBD0 /* mugen.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; name = mugen.gif; path = ../../../GifuTests/Images/mugen.gif; sourceTree = ""; }; 007380221B279644008DAD5C /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; + 00B2B8171E1DAB1C00A50D91 /* UIImageViewExtension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UIImageViewExtension.swift; sourceTree = ""; }; 00DD26EA1DA5968500A0F683 /* EmptyViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EmptyViewController.swift; sourceTree = ""; }; 9D25870519BCCB0F00A55A18 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 9D98823719BC69CA00B790C6 /* Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Demo.app; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -78,6 +80,7 @@ 9D98825919BC69F600B790C6 /* Main.storyboard */, 9D98823E19BC69CA00B790C6 /* ViewController.swift */, 00DD26EA1DA5968500A0F683 /* EmptyViewController.swift */, + 00B2B8171E1DAB1C00A50D91 /* UIImageViewExtension.swift */, ); path = Source; sourceTree = ""; @@ -120,7 +123,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0700; - LastUpgradeCheck = 0800; + LastUpgradeCheck = 0820; ORGANIZATIONNAME = "Kaishin & Co"; TargetAttributes = { 9D98823619BC69CA00B790C6 = { @@ -170,6 +173,7 @@ files = ( 00DD26EB1DA5968500A0F683 /* EmptyViewController.swift in Sources */, 9D98823F19BC69CA00B790C6 /* ViewController.swift in Sources */, + 00B2B8181E1DAB1C00A50D91 /* UIImageViewExtension.swift in Sources */, 9D98823D19BC69CA00B790C6 /* AppDelegate.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -190,8 +194,10 @@ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -234,8 +240,10 @@ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; diff --git a/Demo/Source/Main.storyboard b/Demo/Source/Main.storyboard index d9d8a9b..ea57050 100755 --- a/Demo/Source/Main.storyboard +++ b/Demo/Source/Main.storyboard @@ -1,7 +1,10 @@ - + + + + - + @@ -19,6 +22,7 @@ + @@ -39,6 +44,7 @@