├── .gitignore ├── .travis.yml ├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── UIImageView_YJ.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── UIImageView_YJ.xcscheme │ └── Target Support Files │ │ ├── Pods-UIImageView_YJ_Example │ │ ├── Info.plist │ │ ├── Pods-UIImageView_YJ_Example-acknowledgements.markdown │ │ ├── Pods-UIImageView_YJ_Example-acknowledgements.plist │ │ ├── Pods-UIImageView_YJ_Example-dummy.m │ │ ├── Pods-UIImageView_YJ_Example-frameworks.sh │ │ ├── Pods-UIImageView_YJ_Example-resources.sh │ │ ├── Pods-UIImageView_YJ_Example-umbrella.h │ │ ├── Pods-UIImageView_YJ_Example.debug.xcconfig │ │ ├── Pods-UIImageView_YJ_Example.modulemap │ │ └── Pods-UIImageView_YJ_Example.release.xcconfig │ │ ├── Pods-UIImageView_YJ_Tests │ │ ├── Info.plist │ │ ├── Pods-UIImageView_YJ_Tests-acknowledgements.markdown │ │ ├── Pods-UIImageView_YJ_Tests-acknowledgements.plist │ │ ├── Pods-UIImageView_YJ_Tests-dummy.m │ │ ├── Pods-UIImageView_YJ_Tests-frameworks.sh │ │ ├── Pods-UIImageView_YJ_Tests-resources.sh │ │ ├── Pods-UIImageView_YJ_Tests-umbrella.h │ │ ├── Pods-UIImageView_YJ_Tests.debug.xcconfig │ │ ├── Pods-UIImageView_YJ_Tests.modulemap │ │ └── Pods-UIImageView_YJ_Tests.release.xcconfig │ │ └── UIImageView_YJ │ │ ├── Info.plist │ │ ├── UIImageView_YJ-dummy.m │ │ ├── UIImageView_YJ-prefix.pch │ │ ├── UIImageView_YJ-umbrella.h │ │ ├── UIImageView_YJ.modulemap │ │ └── UIImageView_YJ.xcconfig ├── Tests │ ├── Tests-Info.plist │ ├── Tests-Prefix.pch │ ├── Tests.m │ └── en.lproj │ │ └── InfoPlist.strings ├── UIImageView_YJ.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── UIImageView_YJ-Example.xcscheme ├── UIImageView_YJ.xcworkspace │ └── contents.xcworkspacedata └── UIImageView_YJ │ ├── Images.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── LaunchImage.launchimage │ │ └── Contents.json │ ├── LaunchScreen.xib │ ├── Main.storyboard │ ├── Octocat.png │ ├── UIImageView_YJ-Info.plist │ ├── UIImageView_YJ-Prefix.pch │ ├── YJAppDelegate.h │ ├── YJAppDelegate.m │ ├── YJViewController.h │ ├── YJViewController.m │ ├── en.lproj │ └── InfoPlist.strings │ └── main.m ├── LICENSE ├── Octocat_fit.png ├── Octocat_fit_top.png ├── Octocat_top.png ├── Pod ├── Assets │ └── .gitkeep └── Classes │ └── .gitkeep ├── README.md ├── UIImageView_YJ.podspec ├── UIImageView_YJ ├── CGGeometry_YJExtension.c ├── CGGeometry_YJExtension.h ├── UIImageView+YJCategory.h └── UIImageView+YJCategory.m └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | Carthage 26 | # We recommend against adding the Pods directory to your .gitignore. However 27 | # you should judge for yourself, the pros and cons are mentioned at: 28 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 29 | # 30 | # Note: if you ignore the Pods directory, make sure to uncomment 31 | # `pod install` in .travis.yml 32 | # 33 | # Pods/ 34 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | language: objective-c 6 | # cache: cocoapods 7 | # podfile: Example/Podfile 8 | # before_install: 9 | # - gem install cocoapods # Since Travis is not always on latest version 10 | # - pod install --project-directory=Example 11 | script: 12 | - set -o pipefail && xcodebuild test -workspace Example/UIImageView_YJ.xcworkspace -scheme UIImageView_YJ-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty 13 | - pod lib lint 14 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | source 'https://github.com/CocoaPods/Specs.git' 2 | use_frameworks! 3 | 4 | target 'UIImageView_YJ_Example', :exclusive => true do 5 | pod 'UIImageView_YJ', :path => '../' 6 | end 7 | 8 | target 'UIImageView_YJ_Tests', :exclusive => true do 9 | pod 'UIImageView_YJ', :path => '../' 10 | 11 | 12 | end 13 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - UIImageView_YJ (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - UIImageView_YJ (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | UIImageView_YJ: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | UIImageView_YJ: bd8d5971a7b4b82d58f1bf44ae4263bfa652f558 13 | 14 | COCOAPODS: 0.39.0 15 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/UIImageView_YJ.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "UIImageView_YJ", 3 | "version": "0.1.0", 4 | "summary": "A short description of UIImageView_YJ.", 5 | "description": "", 6 | "homepage": "https://github.com//UIImageView_YJ", 7 | "license": "MIT", 8 | "authors": { 9 | "huang-kun": "jack-huang-developer@foxmail.com" 10 | }, 11 | "source": { 12 | "git": "https://github.com//UIImageView_YJ.git", 13 | "tag": "0.1.0" 14 | }, 15 | "platforms": { 16 | "ios": "7.0" 17 | }, 18 | "requires_arc": true, 19 | "source_files": "Pod/Classes/**/*", 20 | "resource_bundles": { 21 | "UIImageView_YJ": [ 22 | "Pod/Assets/*.png" 23 | ] 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - UIImageView_YJ (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - UIImageView_YJ (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | UIImageView_YJ: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | UIImageView_YJ: bd8d5971a7b4b82d58f1bf44ae4263bfa652f558 13 | 14 | COCOAPODS: 0.39.0 15 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 2D5DEC7323AA73EF8EDBE1F293A25652 /* UIImageView_YJ-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = EED4D776425BA4AD56B4C95BE251C004 /* UIImageView_YJ-dummy.m */; }; 11 | 3044E9AF2BE695484678036F0588AFBE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */; }; 12 | 3BFBEBF6B71A4B0C9954D8766BD0E7E3 /* Pods-UIImageView_YJ_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B6FAED7B399418FCB08F1E5A41113DE4 /* Pods-UIImageView_YJ_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 67A55BFE1F2338913D68F9438B8E5A65 /* Pods-UIImageView_YJ_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E289BC007BC6BB08E79AAFCE933C9D20 /* Pods-UIImageView_YJ_Example-dummy.m */; }; 14 | 7CB381E19E861BDCE8D4B67991703394 /* UIImageView_YJ-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = DF4ED83756E71002BFEFF771AA08CAAA /* UIImageView_YJ-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | 909514982B3CF7B6384EC78A7049DE5D /* UIImageView_YJ.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 9AE6AE4E198E4CACC0E94EE03E1A593E /* UIImageView_YJ.bundle */; }; 16 | 9FA9821FAB9E5248BC96E8FF821EBBCA /* Pods-UIImageView_YJ_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 061C806CCD0FEC27EDF6E194D1E2A302 /* Pods-UIImageView_YJ_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | A2ED2621795BE31EA25252CB76077E18 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */; }; 18 | B4D4939A31CD01428F829FB90C56B1A4 /* Pods-UIImageView_YJ_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C29452553B80C5D909F453E81BBF2747 /* Pods-UIImageView_YJ_Tests-dummy.m */; }; 19 | CB66F3D161105BD5B1C4E4253719D681 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | 048D2C7552ECE6FE78C10BDE607D8667 /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = 037D27D6A4374DCCA984BDC952FC3784; 28 | remoteInfo = UIImageView_YJ; 29 | }; 30 | 39739929270AC4BD0BC2D3C7ACE0F847 /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 33 | proxyType = 1; 34 | remoteGlobalIDString = B2CC9943C0A3F4FB6537C1EDF478A84B; 35 | remoteInfo = "UIImageView_YJ-UIImageView_YJ"; 36 | }; 37 | 5E83B55ACDEB4B345BD9C7B572D37872 /* PBXContainerItemProxy */ = { 38 | isa = PBXContainerItemProxy; 39 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 40 | proxyType = 1; 41 | remoteGlobalIDString = 037D27D6A4374DCCA984BDC952FC3784; 42 | remoteInfo = UIImageView_YJ; 43 | }; 44 | /* End PBXContainerItemProxy section */ 45 | 46 | /* Begin PBXFileReference section */ 47 | 013EB0935FDB667BBF9D488B6F8EAE48 /* UIImageView_YJ.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = UIImageView_YJ.modulemap; sourceTree = ""; }; 48 | 061C806CCD0FEC27EDF6E194D1E2A302 /* Pods-UIImageView_YJ_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-UIImageView_YJ_Example-umbrella.h"; sourceTree = ""; }; 49 | 09D89B39CAECCC183175481911FCD02A /* UIImageView_YJ.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = UIImageView_YJ.xcconfig; sourceTree = ""; }; 50 | 130450F0F113FD98E607DCAB0C680A94 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 51 | 2A05DE813741B676700E5CF5CCA93F49 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 52 | 2A922C052E6A0C0CECACBDE696374909 /* UIImageView_YJ-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "UIImageView_YJ-prefix.pch"; sourceTree = ""; }; 53 | 3621BD819F4FD6725F0B94E4C9E8763D /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 54 | 395DC84C35984937846E91D5DFE25F8A /* Pods-UIImageView_YJ_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-UIImageView_YJ_Example-frameworks.sh"; sourceTree = ""; }; 55 | 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 56 | 64332C4CC19DAEB04EB53170474A7F45 /* Pods-UIImageView_YJ_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-UIImageView_YJ_Tests.release.xcconfig"; sourceTree = ""; }; 57 | 6A25EA8F9A36FB06EC331655BB8C80AF /* Pods-UIImageView_YJ_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-UIImageView_YJ_Tests.modulemap"; sourceTree = ""; }; 58 | 756904690E7552784C2141EBE5C60972 /* Pods-UIImageView_YJ_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-UIImageView_YJ_Tests-acknowledgements.markdown"; sourceTree = ""; }; 59 | 7D00014D0E44BD9889C6C22D0D71F3C5 /* Pods-UIImageView_YJ_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-UIImageView_YJ_Example.release.xcconfig"; sourceTree = ""; }; 60 | 7FFA969EC5422D4436B9D0EE4CBC8AD5 /* UIImageView_YJ.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = UIImageView_YJ.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 61 | 86E622C0E4D6AD3BAE511FD9B15F3C03 /* Pods-UIImageView_YJ_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-UIImageView_YJ_Example-acknowledgements.plist"; sourceTree = ""; }; 62 | 950756E381242981C89AC9D82EA27EA9 /* Pods-UIImageView_YJ_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-UIImageView_YJ_Tests-acknowledgements.plist"; sourceTree = ""; }; 63 | 9AE6AE4E198E4CACC0E94EE03E1A593E /* UIImageView_YJ.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = UIImageView_YJ.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; 64 | AE4E4AEF79A4F7351448517A8FF029C3 /* Pods-UIImageView_YJ_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-UIImageView_YJ_Example-acknowledgements.markdown"; sourceTree = ""; }; 65 | B07578820EAF7D2C1749DFAFBDB01B4A /* Pods-UIImageView_YJ_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-UIImageView_YJ_Example.modulemap"; sourceTree = ""; }; 66 | B6095F89DFFFBA45D3C443A349488B5C /* Pods-UIImageView_YJ_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-UIImageView_YJ_Example-resources.sh"; sourceTree = ""; }; 67 | B6FAED7B399418FCB08F1E5A41113DE4 /* Pods-UIImageView_YJ_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-UIImageView_YJ_Tests-umbrella.h"; sourceTree = ""; }; 68 | BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 69 | BAA09BEA2A09B1A2AC5004CAD6B2AE4F /* Pods_UIImageView_YJ_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_UIImageView_YJ_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 70 | C29452553B80C5D909F453E81BBF2747 /* Pods-UIImageView_YJ_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-UIImageView_YJ_Tests-dummy.m"; sourceTree = ""; }; 71 | D41A3BA3940D19B06B92F99E6AE9B108 /* Pods-UIImageView_YJ_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-UIImageView_YJ_Tests-frameworks.sh"; sourceTree = ""; }; 72 | D572855F2AFA5B5F20DFEDAC58FEF189 /* Pods_UIImageView_YJ_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_UIImageView_YJ_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 73 | D7F6DA766A8BA61952DA03E440F291BB /* Pods-UIImageView_YJ_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-UIImageView_YJ_Example.debug.xcconfig"; sourceTree = ""; }; 74 | DEE5D1EF8002F6CED2D5BAAFBF0E9ED5 /* Pods-UIImageView_YJ_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-UIImageView_YJ_Tests-resources.sh"; sourceTree = ""; }; 75 | DF4ED83756E71002BFEFF771AA08CAAA /* UIImageView_YJ-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "UIImageView_YJ-umbrella.h"; sourceTree = ""; }; 76 | E289BC007BC6BB08E79AAFCE933C9D20 /* Pods-UIImageView_YJ_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-UIImageView_YJ_Example-dummy.m"; sourceTree = ""; }; 77 | E9C1CDFE0105DDD2B650ED72513BE18A /* Pods-UIImageView_YJ_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-UIImageView_YJ_Tests.debug.xcconfig"; sourceTree = ""; }; 78 | EED4D776425BA4AD56B4C95BE251C004 /* UIImageView_YJ-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "UIImageView_YJ-dummy.m"; sourceTree = ""; }; 79 | /* End PBXFileReference section */ 80 | 81 | /* Begin PBXFrameworksBuildPhase section */ 82 | 3681D82A946E0C35C8D1AB4818408FB4 /* Frameworks */ = { 83 | isa = PBXFrameworksBuildPhase; 84 | buildActionMask = 2147483647; 85 | files = ( 86 | A2ED2621795BE31EA25252CB76077E18 /* Foundation.framework in Frameworks */, 87 | ); 88 | runOnlyForDeploymentPostprocessing = 0; 89 | }; 90 | 54906AAB81020AA7D5E134766EB149A2 /* Frameworks */ = { 91 | isa = PBXFrameworksBuildPhase; 92 | buildActionMask = 2147483647; 93 | files = ( 94 | 3044E9AF2BE695484678036F0588AFBE /* Foundation.framework in Frameworks */, 95 | ); 96 | runOnlyForDeploymentPostprocessing = 0; 97 | }; 98 | 861A2AF37F3C510A5F0DC0EEC1C7F200 /* Frameworks */ = { 99 | isa = PBXFrameworksBuildPhase; 100 | buildActionMask = 2147483647; 101 | files = ( 102 | CB66F3D161105BD5B1C4E4253719D681 /* Foundation.framework in Frameworks */, 103 | ); 104 | runOnlyForDeploymentPostprocessing = 0; 105 | }; 106 | 9B7BA17E1968BA91CFEE112A8FC23ADE /* Frameworks */ = { 107 | isa = PBXFrameworksBuildPhase; 108 | buildActionMask = 2147483647; 109 | files = ( 110 | ); 111 | runOnlyForDeploymentPostprocessing = 0; 112 | }; 113 | /* End PBXFrameworksBuildPhase section */ 114 | 115 | /* Begin PBXGroup section */ 116 | 18465EE02A4B2AAF2EC060F8A41000CF /* Development Pods */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 58B7CCFD0E09DA2041CEB3D3EFD3A7E4 /* UIImageView_YJ */, 120 | ); 121 | name = "Development Pods"; 122 | sourceTree = ""; 123 | }; 124 | 24406AFCA8D5257F3CC6EEB9F5244BE4 /* Pods-UIImageView_YJ_Example */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 3621BD819F4FD6725F0B94E4C9E8763D /* Info.plist */, 128 | B07578820EAF7D2C1749DFAFBDB01B4A /* Pods-UIImageView_YJ_Example.modulemap */, 129 | AE4E4AEF79A4F7351448517A8FF029C3 /* Pods-UIImageView_YJ_Example-acknowledgements.markdown */, 130 | 86E622C0E4D6AD3BAE511FD9B15F3C03 /* Pods-UIImageView_YJ_Example-acknowledgements.plist */, 131 | E289BC007BC6BB08E79AAFCE933C9D20 /* Pods-UIImageView_YJ_Example-dummy.m */, 132 | 395DC84C35984937846E91D5DFE25F8A /* Pods-UIImageView_YJ_Example-frameworks.sh */, 133 | B6095F89DFFFBA45D3C443A349488B5C /* Pods-UIImageView_YJ_Example-resources.sh */, 134 | 061C806CCD0FEC27EDF6E194D1E2A302 /* Pods-UIImageView_YJ_Example-umbrella.h */, 135 | D7F6DA766A8BA61952DA03E440F291BB /* Pods-UIImageView_YJ_Example.debug.xcconfig */, 136 | 7D00014D0E44BD9889C6C22D0D71F3C5 /* Pods-UIImageView_YJ_Example.release.xcconfig */, 137 | ); 138 | name = "Pods-UIImageView_YJ_Example"; 139 | path = "Target Support Files/Pods-UIImageView_YJ_Example"; 140 | sourceTree = ""; 141 | }; 142 | 48826AABF968463F4BF48285DA96E632 /* Pods-UIImageView_YJ_Tests */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | 2A05DE813741B676700E5CF5CCA93F49 /* Info.plist */, 146 | 6A25EA8F9A36FB06EC331655BB8C80AF /* Pods-UIImageView_YJ_Tests.modulemap */, 147 | 756904690E7552784C2141EBE5C60972 /* Pods-UIImageView_YJ_Tests-acknowledgements.markdown */, 148 | 950756E381242981C89AC9D82EA27EA9 /* Pods-UIImageView_YJ_Tests-acknowledgements.plist */, 149 | C29452553B80C5D909F453E81BBF2747 /* Pods-UIImageView_YJ_Tests-dummy.m */, 150 | D41A3BA3940D19B06B92F99E6AE9B108 /* Pods-UIImageView_YJ_Tests-frameworks.sh */, 151 | DEE5D1EF8002F6CED2D5BAAFBF0E9ED5 /* Pods-UIImageView_YJ_Tests-resources.sh */, 152 | B6FAED7B399418FCB08F1E5A41113DE4 /* Pods-UIImageView_YJ_Tests-umbrella.h */, 153 | E9C1CDFE0105DDD2B650ED72513BE18A /* Pods-UIImageView_YJ_Tests.debug.xcconfig */, 154 | 64332C4CC19DAEB04EB53170474A7F45 /* Pods-UIImageView_YJ_Tests.release.xcconfig */, 155 | ); 156 | name = "Pods-UIImageView_YJ_Tests"; 157 | path = "Target Support Files/Pods-UIImageView_YJ_Tests"; 158 | sourceTree = ""; 159 | }; 160 | 556282B9B82FD5E845243864D0D616E0 /* Support Files */ = { 161 | isa = PBXGroup; 162 | children = ( 163 | 130450F0F113FD98E607DCAB0C680A94 /* Info.plist */, 164 | 013EB0935FDB667BBF9D488B6F8EAE48 /* UIImageView_YJ.modulemap */, 165 | 09D89B39CAECCC183175481911FCD02A /* UIImageView_YJ.xcconfig */, 166 | EED4D776425BA4AD56B4C95BE251C004 /* UIImageView_YJ-dummy.m */, 167 | 2A922C052E6A0C0CECACBDE696374909 /* UIImageView_YJ-prefix.pch */, 168 | DF4ED83756E71002BFEFF771AA08CAAA /* UIImageView_YJ-umbrella.h */, 169 | ); 170 | name = "Support Files"; 171 | path = "Example/Pods/Target Support Files/UIImageView_YJ"; 172 | sourceTree = ""; 173 | }; 174 | 58B7CCFD0E09DA2041CEB3D3EFD3A7E4 /* UIImageView_YJ */ = { 175 | isa = PBXGroup; 176 | children = ( 177 | FFBDFA024FA8D7435F9A48E55200ADD5 /* Pod */, 178 | 556282B9B82FD5E845243864D0D616E0 /* Support Files */, 179 | ); 180 | name = UIImageView_YJ; 181 | path = ../..; 182 | sourceTree = ""; 183 | }; 184 | 767DFDE5C9927644053464FA41A8A42F /* Products */ = { 185 | isa = PBXGroup; 186 | children = ( 187 | BAA09BEA2A09B1A2AC5004CAD6B2AE4F /* Pods_UIImageView_YJ_Example.framework */, 188 | D572855F2AFA5B5F20DFEDAC58FEF189 /* Pods_UIImageView_YJ_Tests.framework */, 189 | 9AE6AE4E198E4CACC0E94EE03E1A593E /* UIImageView_YJ.bundle */, 190 | 7FFA969EC5422D4436B9D0EE4CBC8AD5 /* UIImageView_YJ.framework */, 191 | ); 192 | name = Products; 193 | sourceTree = ""; 194 | }; 195 | 7DB346D0F39D3F0E887471402A8071AB = { 196 | isa = PBXGroup; 197 | children = ( 198 | BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */, 199 | 18465EE02A4B2AAF2EC060F8A41000CF /* Development Pods */, 200 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 201 | 767DFDE5C9927644053464FA41A8A42F /* Products */, 202 | C3DC1A4FB4DDAE5AA1189F48D825928B /* Targets Support Files */, 203 | ); 204 | sourceTree = ""; 205 | }; 206 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 207 | isa = PBXGroup; 208 | children = ( 209 | BF6342C8B29F4CEEA088EFF7AB4DE362 /* iOS */, 210 | ); 211 | name = Frameworks; 212 | sourceTree = ""; 213 | }; 214 | BF6342C8B29F4CEEA088EFF7AB4DE362 /* iOS */ = { 215 | isa = PBXGroup; 216 | children = ( 217 | 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */, 218 | ); 219 | name = iOS; 220 | sourceTree = ""; 221 | }; 222 | C3DC1A4FB4DDAE5AA1189F48D825928B /* Targets Support Files */ = { 223 | isa = PBXGroup; 224 | children = ( 225 | 24406AFCA8D5257F3CC6EEB9F5244BE4 /* Pods-UIImageView_YJ_Example */, 226 | 48826AABF968463F4BF48285DA96E632 /* Pods-UIImageView_YJ_Tests */, 227 | ); 228 | name = "Targets Support Files"; 229 | sourceTree = ""; 230 | }; 231 | D8025ECF8B512BA0038CA200FA541A57 /* Classes */ = { 232 | isa = PBXGroup; 233 | children = ( 234 | ); 235 | path = Classes; 236 | sourceTree = ""; 237 | }; 238 | FFBDFA024FA8D7435F9A48E55200ADD5 /* Pod */ = { 239 | isa = PBXGroup; 240 | children = ( 241 | D8025ECF8B512BA0038CA200FA541A57 /* Classes */, 242 | ); 243 | path = Pod; 244 | sourceTree = ""; 245 | }; 246 | /* End PBXGroup section */ 247 | 248 | /* Begin PBXHeadersBuildPhase section */ 249 | 74BE354E4A62416FCF664A2B09597D3A /* Headers */ = { 250 | isa = PBXHeadersBuildPhase; 251 | buildActionMask = 2147483647; 252 | files = ( 253 | 9FA9821FAB9E5248BC96E8FF821EBBCA /* Pods-UIImageView_YJ_Example-umbrella.h in Headers */, 254 | ); 255 | runOnlyForDeploymentPostprocessing = 0; 256 | }; 257 | A78523FF6BFA8CEA94F8E938624B3BBD /* Headers */ = { 258 | isa = PBXHeadersBuildPhase; 259 | buildActionMask = 2147483647; 260 | files = ( 261 | 3BFBEBF6B71A4B0C9954D8766BD0E7E3 /* Pods-UIImageView_YJ_Tests-umbrella.h in Headers */, 262 | ); 263 | runOnlyForDeploymentPostprocessing = 0; 264 | }; 265 | FC5986A814878B884CA72F634E57478B /* Headers */ = { 266 | isa = PBXHeadersBuildPhase; 267 | buildActionMask = 2147483647; 268 | files = ( 269 | 7CB381E19E861BDCE8D4B67991703394 /* UIImageView_YJ-umbrella.h in Headers */, 270 | ); 271 | runOnlyForDeploymentPostprocessing = 0; 272 | }; 273 | /* End PBXHeadersBuildPhase section */ 274 | 275 | /* Begin PBXNativeTarget section */ 276 | 037D27D6A4374DCCA984BDC952FC3784 /* UIImageView_YJ */ = { 277 | isa = PBXNativeTarget; 278 | buildConfigurationList = 4090B41CE9A6EF15B17BFF0FF77006DF /* Build configuration list for PBXNativeTarget "UIImageView_YJ" */; 279 | buildPhases = ( 280 | 5C26869AC708B435A282539B4B2698A4 /* Sources */, 281 | 3681D82A946E0C35C8D1AB4818408FB4 /* Frameworks */, 282 | 2F685E3BF1861B8DBDCC5E3CB18A52DF /* Resources */, 283 | FC5986A814878B884CA72F634E57478B /* Headers */, 284 | ); 285 | buildRules = ( 286 | ); 287 | dependencies = ( 288 | 098372B8597504DF1EAEEE03E6E90CCB /* PBXTargetDependency */, 289 | ); 290 | name = UIImageView_YJ; 291 | productName = UIImageView_YJ; 292 | productReference = 7FFA969EC5422D4436B9D0EE4CBC8AD5 /* UIImageView_YJ.framework */; 293 | productType = "com.apple.product-type.framework"; 294 | }; 295 | 2EC6E8440CCACED471D74284B97B4F2E /* Pods-UIImageView_YJ_Tests */ = { 296 | isa = PBXNativeTarget; 297 | buildConfigurationList = 073B23FD66E54600094EF269012B37A0 /* Build configuration list for PBXNativeTarget "Pods-UIImageView_YJ_Tests" */; 298 | buildPhases = ( 299 | 9A4CD85D3482DBA6EA9C14415E400025 /* Sources */, 300 | 861A2AF37F3C510A5F0DC0EEC1C7F200 /* Frameworks */, 301 | A78523FF6BFA8CEA94F8E938624B3BBD /* Headers */, 302 | ); 303 | buildRules = ( 304 | ); 305 | dependencies = ( 306 | 6DFCF1A8370A6CC482E0CD061326AABC /* PBXTargetDependency */, 307 | ); 308 | name = "Pods-UIImageView_YJ_Tests"; 309 | productName = "Pods-UIImageView_YJ_Tests"; 310 | productReference = D572855F2AFA5B5F20DFEDAC58FEF189 /* Pods_UIImageView_YJ_Tests.framework */; 311 | productType = "com.apple.product-type.framework"; 312 | }; 313 | B2CC9943C0A3F4FB6537C1EDF478A84B /* UIImageView_YJ-UIImageView_YJ */ = { 314 | isa = PBXNativeTarget; 315 | buildConfigurationList = F2924B8C13C2D859AA21DC5DD7687B2A /* Build configuration list for PBXNativeTarget "UIImageView_YJ-UIImageView_YJ" */; 316 | buildPhases = ( 317 | 20FD477DB2B106A85EC3038AA0743AD6 /* Sources */, 318 | 9B7BA17E1968BA91CFEE112A8FC23ADE /* Frameworks */, 319 | E8D47D1B5CAD8EC3AB7D12C56687501A /* Resources */, 320 | ); 321 | buildRules = ( 322 | ); 323 | dependencies = ( 324 | ); 325 | name = "UIImageView_YJ-UIImageView_YJ"; 326 | productName = "UIImageView_YJ-UIImageView_YJ"; 327 | productReference = 9AE6AE4E198E4CACC0E94EE03E1A593E /* UIImageView_YJ.bundle */; 328 | productType = "com.apple.product-type.bundle"; 329 | }; 330 | CDBBEBAF912621FF80407B302D5D4524 /* Pods-UIImageView_YJ_Example */ = { 331 | isa = PBXNativeTarget; 332 | buildConfigurationList = C0251E021FEBBEB2B268530489C7FAFD /* Build configuration list for PBXNativeTarget "Pods-UIImageView_YJ_Example" */; 333 | buildPhases = ( 334 | 520C2EA9F34BDD2C27635312BE061E15 /* Sources */, 335 | 54906AAB81020AA7D5E134766EB149A2 /* Frameworks */, 336 | 74BE354E4A62416FCF664A2B09597D3A /* Headers */, 337 | ); 338 | buildRules = ( 339 | ); 340 | dependencies = ( 341 | 259561CF03B2C748E4B06A7996033BFB /* PBXTargetDependency */, 342 | ); 343 | name = "Pods-UIImageView_YJ_Example"; 344 | productName = "Pods-UIImageView_YJ_Example"; 345 | productReference = BAA09BEA2A09B1A2AC5004CAD6B2AE4F /* Pods_UIImageView_YJ_Example.framework */; 346 | productType = "com.apple.product-type.framework"; 347 | }; 348 | /* End PBXNativeTarget section */ 349 | 350 | /* Begin PBXProject section */ 351 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 352 | isa = PBXProject; 353 | attributes = { 354 | LastSwiftUpdateCheck = 0700; 355 | LastUpgradeCheck = 0700; 356 | }; 357 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 358 | compatibilityVersion = "Xcode 3.2"; 359 | developmentRegion = English; 360 | hasScannedForEncodings = 0; 361 | knownRegions = ( 362 | en, 363 | ); 364 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 365 | productRefGroup = 767DFDE5C9927644053464FA41A8A42F /* Products */; 366 | projectDirPath = ""; 367 | projectRoot = ""; 368 | targets = ( 369 | CDBBEBAF912621FF80407B302D5D4524 /* Pods-UIImageView_YJ_Example */, 370 | 2EC6E8440CCACED471D74284B97B4F2E /* Pods-UIImageView_YJ_Tests */, 371 | 037D27D6A4374DCCA984BDC952FC3784 /* UIImageView_YJ */, 372 | B2CC9943C0A3F4FB6537C1EDF478A84B /* UIImageView_YJ-UIImageView_YJ */, 373 | ); 374 | }; 375 | /* End PBXProject section */ 376 | 377 | /* Begin PBXResourcesBuildPhase section */ 378 | 2F685E3BF1861B8DBDCC5E3CB18A52DF /* Resources */ = { 379 | isa = PBXResourcesBuildPhase; 380 | buildActionMask = 2147483647; 381 | files = ( 382 | 909514982B3CF7B6384EC78A7049DE5D /* UIImageView_YJ.bundle in Resources */, 383 | ); 384 | runOnlyForDeploymentPostprocessing = 0; 385 | }; 386 | E8D47D1B5CAD8EC3AB7D12C56687501A /* Resources */ = { 387 | isa = PBXResourcesBuildPhase; 388 | buildActionMask = 2147483647; 389 | files = ( 390 | ); 391 | runOnlyForDeploymentPostprocessing = 0; 392 | }; 393 | /* End PBXResourcesBuildPhase section */ 394 | 395 | /* Begin PBXSourcesBuildPhase section */ 396 | 20FD477DB2B106A85EC3038AA0743AD6 /* Sources */ = { 397 | isa = PBXSourcesBuildPhase; 398 | buildActionMask = 2147483647; 399 | files = ( 400 | ); 401 | runOnlyForDeploymentPostprocessing = 0; 402 | }; 403 | 520C2EA9F34BDD2C27635312BE061E15 /* Sources */ = { 404 | isa = PBXSourcesBuildPhase; 405 | buildActionMask = 2147483647; 406 | files = ( 407 | 67A55BFE1F2338913D68F9438B8E5A65 /* Pods-UIImageView_YJ_Example-dummy.m in Sources */, 408 | ); 409 | runOnlyForDeploymentPostprocessing = 0; 410 | }; 411 | 5C26869AC708B435A282539B4B2698A4 /* Sources */ = { 412 | isa = PBXSourcesBuildPhase; 413 | buildActionMask = 2147483647; 414 | files = ( 415 | 2D5DEC7323AA73EF8EDBE1F293A25652 /* UIImageView_YJ-dummy.m in Sources */, 416 | ); 417 | runOnlyForDeploymentPostprocessing = 0; 418 | }; 419 | 9A4CD85D3482DBA6EA9C14415E400025 /* Sources */ = { 420 | isa = PBXSourcesBuildPhase; 421 | buildActionMask = 2147483647; 422 | files = ( 423 | B4D4939A31CD01428F829FB90C56B1A4 /* Pods-UIImageView_YJ_Tests-dummy.m in Sources */, 424 | ); 425 | runOnlyForDeploymentPostprocessing = 0; 426 | }; 427 | /* End PBXSourcesBuildPhase section */ 428 | 429 | /* Begin PBXTargetDependency section */ 430 | 098372B8597504DF1EAEEE03E6E90CCB /* PBXTargetDependency */ = { 431 | isa = PBXTargetDependency; 432 | name = "UIImageView_YJ-UIImageView_YJ"; 433 | target = B2CC9943C0A3F4FB6537C1EDF478A84B /* UIImageView_YJ-UIImageView_YJ */; 434 | targetProxy = 39739929270AC4BD0BC2D3C7ACE0F847 /* PBXContainerItemProxy */; 435 | }; 436 | 259561CF03B2C748E4B06A7996033BFB /* PBXTargetDependency */ = { 437 | isa = PBXTargetDependency; 438 | name = UIImageView_YJ; 439 | target = 037D27D6A4374DCCA984BDC952FC3784 /* UIImageView_YJ */; 440 | targetProxy = 5E83B55ACDEB4B345BD9C7B572D37872 /* PBXContainerItemProxy */; 441 | }; 442 | 6DFCF1A8370A6CC482E0CD061326AABC /* PBXTargetDependency */ = { 443 | isa = PBXTargetDependency; 444 | name = UIImageView_YJ; 445 | target = 037D27D6A4374DCCA984BDC952FC3784 /* UIImageView_YJ */; 446 | targetProxy = 048D2C7552ECE6FE78C10BDE607D8667 /* PBXContainerItemProxy */; 447 | }; 448 | /* End PBXTargetDependency section */ 449 | 450 | /* Begin XCBuildConfiguration section */ 451 | 03C5E60394E65DCAECAC47E38B5C55DB /* Release */ = { 452 | isa = XCBuildConfiguration; 453 | baseConfigurationReference = 7D00014D0E44BD9889C6C22D0D71F3C5 /* Pods-UIImageView_YJ_Example.release.xcconfig */; 454 | buildSettings = { 455 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 456 | CURRENT_PROJECT_VERSION = 1; 457 | DEFINES_MODULE = YES; 458 | DYLIB_COMPATIBILITY_VERSION = 1; 459 | DYLIB_CURRENT_VERSION = 1; 460 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 461 | ENABLE_STRICT_OBJC_MSGSEND = YES; 462 | INFOPLIST_FILE = "Target Support Files/Pods-UIImageView_YJ_Example/Info.plist"; 463 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 464 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 465 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 466 | MACH_O_TYPE = staticlib; 467 | MODULEMAP_FILE = "Target Support Files/Pods-UIImageView_YJ_Example/Pods-UIImageView_YJ_Example.modulemap"; 468 | MTL_ENABLE_DEBUG_INFO = NO; 469 | OTHER_LDFLAGS = ""; 470 | OTHER_LIBTOOLFLAGS = ""; 471 | PODS_ROOT = "$(SRCROOT)"; 472 | PRODUCT_NAME = Pods_UIImageView_YJ_Example; 473 | SDKROOT = iphoneos; 474 | SKIP_INSTALL = YES; 475 | TARGETED_DEVICE_FAMILY = "1,2"; 476 | VERSIONING_SYSTEM = "apple-generic"; 477 | VERSION_INFO_PREFIX = ""; 478 | }; 479 | name = Release; 480 | }; 481 | 03CA91998D6773EC5D02B3DB87B8353E /* Release */ = { 482 | isa = XCBuildConfiguration; 483 | buildSettings = { 484 | ALWAYS_SEARCH_USER_PATHS = NO; 485 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 486 | CLANG_CXX_LIBRARY = "libc++"; 487 | CLANG_ENABLE_MODULES = YES; 488 | CLANG_ENABLE_OBJC_ARC = YES; 489 | CLANG_WARN_BOOL_CONVERSION = YES; 490 | CLANG_WARN_CONSTANT_CONVERSION = YES; 491 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 492 | CLANG_WARN_EMPTY_BODY = YES; 493 | CLANG_WARN_ENUM_CONVERSION = YES; 494 | CLANG_WARN_INT_CONVERSION = YES; 495 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 496 | CLANG_WARN_UNREACHABLE_CODE = YES; 497 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 498 | COPY_PHASE_STRIP = YES; 499 | ENABLE_NS_ASSERTIONS = NO; 500 | GCC_C_LANGUAGE_STANDARD = gnu99; 501 | GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1"; 502 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 503 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 504 | GCC_WARN_UNDECLARED_SELECTOR = YES; 505 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 506 | GCC_WARN_UNUSED_FUNCTION = YES; 507 | GCC_WARN_UNUSED_VARIABLE = YES; 508 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 509 | STRIP_INSTALLED_PRODUCT = NO; 510 | SYMROOT = "${SRCROOT}/../build"; 511 | VALIDATE_PRODUCT = YES; 512 | }; 513 | name = Release; 514 | }; 515 | 05C52E8E195B3E67C2128834BCD1B924 /* Debug */ = { 516 | isa = XCBuildConfiguration; 517 | baseConfigurationReference = 09D89B39CAECCC183175481911FCD02A /* UIImageView_YJ.xcconfig */; 518 | buildSettings = { 519 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 520 | CURRENT_PROJECT_VERSION = 1; 521 | DEFINES_MODULE = YES; 522 | DYLIB_COMPATIBILITY_VERSION = 1; 523 | DYLIB_CURRENT_VERSION = 1; 524 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 525 | ENABLE_STRICT_OBJC_MSGSEND = YES; 526 | GCC_PREFIX_HEADER = "Target Support Files/UIImageView_YJ/UIImageView_YJ-prefix.pch"; 527 | INFOPLIST_FILE = "Target Support Files/UIImageView_YJ/Info.plist"; 528 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 529 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 530 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 531 | MODULEMAP_FILE = "Target Support Files/UIImageView_YJ/UIImageView_YJ.modulemap"; 532 | MTL_ENABLE_DEBUG_INFO = YES; 533 | PRODUCT_NAME = UIImageView_YJ; 534 | SDKROOT = iphoneos; 535 | SKIP_INSTALL = YES; 536 | TARGETED_DEVICE_FAMILY = "1,2"; 537 | VERSIONING_SYSTEM = "apple-generic"; 538 | VERSION_INFO_PREFIX = ""; 539 | }; 540 | name = Debug; 541 | }; 542 | 0B57334D6C23DADAA4F7D802A5760EB2 /* Debug */ = { 543 | isa = XCBuildConfiguration; 544 | buildSettings = { 545 | ALWAYS_SEARCH_USER_PATHS = NO; 546 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 547 | CLANG_CXX_LIBRARY = "libc++"; 548 | CLANG_ENABLE_MODULES = YES; 549 | CLANG_ENABLE_OBJC_ARC = YES; 550 | CLANG_WARN_BOOL_CONVERSION = YES; 551 | CLANG_WARN_CONSTANT_CONVERSION = YES; 552 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 553 | CLANG_WARN_EMPTY_BODY = YES; 554 | CLANG_WARN_ENUM_CONVERSION = YES; 555 | CLANG_WARN_INT_CONVERSION = YES; 556 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 557 | CLANG_WARN_UNREACHABLE_CODE = YES; 558 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 559 | COPY_PHASE_STRIP = NO; 560 | GCC_C_LANGUAGE_STANDARD = gnu99; 561 | GCC_DYNAMIC_NO_PIC = NO; 562 | GCC_OPTIMIZATION_LEVEL = 0; 563 | GCC_PREPROCESSOR_DEFINITIONS = ( 564 | "DEBUG=1", 565 | "$(inherited)", 566 | ); 567 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 568 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 569 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 570 | GCC_WARN_UNDECLARED_SELECTOR = YES; 571 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 572 | GCC_WARN_UNUSED_FUNCTION = YES; 573 | GCC_WARN_UNUSED_VARIABLE = YES; 574 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 575 | ONLY_ACTIVE_ARCH = YES; 576 | STRIP_INSTALLED_PRODUCT = NO; 577 | SYMROOT = "${SRCROOT}/../build"; 578 | }; 579 | name = Debug; 580 | }; 581 | 172CECD4FDB6ED34E995A14C1227BDE0 /* Release */ = { 582 | isa = XCBuildConfiguration; 583 | baseConfigurationReference = 09D89B39CAECCC183175481911FCD02A /* UIImageView_YJ.xcconfig */; 584 | buildSettings = { 585 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 586 | CURRENT_PROJECT_VERSION = 1; 587 | DEFINES_MODULE = YES; 588 | DYLIB_COMPATIBILITY_VERSION = 1; 589 | DYLIB_CURRENT_VERSION = 1; 590 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 591 | ENABLE_STRICT_OBJC_MSGSEND = YES; 592 | GCC_PREFIX_HEADER = "Target Support Files/UIImageView_YJ/UIImageView_YJ-prefix.pch"; 593 | INFOPLIST_FILE = "Target Support Files/UIImageView_YJ/Info.plist"; 594 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 595 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 596 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 597 | MODULEMAP_FILE = "Target Support Files/UIImageView_YJ/UIImageView_YJ.modulemap"; 598 | MTL_ENABLE_DEBUG_INFO = NO; 599 | PRODUCT_NAME = UIImageView_YJ; 600 | SDKROOT = iphoneos; 601 | SKIP_INSTALL = YES; 602 | TARGETED_DEVICE_FAMILY = "1,2"; 603 | VERSIONING_SYSTEM = "apple-generic"; 604 | VERSION_INFO_PREFIX = ""; 605 | }; 606 | name = Release; 607 | }; 608 | 20FDF7A0C7E077101398D01C2BAF110E /* Debug */ = { 609 | isa = XCBuildConfiguration; 610 | baseConfigurationReference = E9C1CDFE0105DDD2B650ED72513BE18A /* Pods-UIImageView_YJ_Tests.debug.xcconfig */; 611 | buildSettings = { 612 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 613 | CURRENT_PROJECT_VERSION = 1; 614 | DEFINES_MODULE = YES; 615 | DYLIB_COMPATIBILITY_VERSION = 1; 616 | DYLIB_CURRENT_VERSION = 1; 617 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 618 | ENABLE_STRICT_OBJC_MSGSEND = YES; 619 | INFOPLIST_FILE = "Target Support Files/Pods-UIImageView_YJ_Tests/Info.plist"; 620 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 621 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 622 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 623 | MACH_O_TYPE = staticlib; 624 | MODULEMAP_FILE = "Target Support Files/Pods-UIImageView_YJ_Tests/Pods-UIImageView_YJ_Tests.modulemap"; 625 | MTL_ENABLE_DEBUG_INFO = YES; 626 | OTHER_LDFLAGS = ""; 627 | OTHER_LIBTOOLFLAGS = ""; 628 | PODS_ROOT = "$(SRCROOT)"; 629 | PRODUCT_NAME = Pods_UIImageView_YJ_Tests; 630 | SDKROOT = iphoneos; 631 | SKIP_INSTALL = YES; 632 | TARGETED_DEVICE_FAMILY = "1,2"; 633 | VERSIONING_SYSTEM = "apple-generic"; 634 | VERSION_INFO_PREFIX = ""; 635 | }; 636 | name = Debug; 637 | }; 638 | 40F59912A5513868F98706383EF02EBB /* Release */ = { 639 | isa = XCBuildConfiguration; 640 | baseConfigurationReference = 09D89B39CAECCC183175481911FCD02A /* UIImageView_YJ.xcconfig */; 641 | buildSettings = { 642 | ENABLE_STRICT_OBJC_MSGSEND = YES; 643 | PRODUCT_NAME = UIImageView_YJ; 644 | SDKROOT = iphoneos; 645 | SKIP_INSTALL = YES; 646 | WRAPPER_EXTENSION = bundle; 647 | }; 648 | name = Release; 649 | }; 650 | 422B5D6BDF9945E44C6FD32318F74385 /* Debug */ = { 651 | isa = XCBuildConfiguration; 652 | baseConfigurationReference = 09D89B39CAECCC183175481911FCD02A /* UIImageView_YJ.xcconfig */; 653 | buildSettings = { 654 | ENABLE_STRICT_OBJC_MSGSEND = YES; 655 | PRODUCT_NAME = UIImageView_YJ; 656 | SDKROOT = iphoneos; 657 | SKIP_INSTALL = YES; 658 | WRAPPER_EXTENSION = bundle; 659 | }; 660 | name = Debug; 661 | }; 662 | 824F550ACFCB282E604986F99A549B9D /* Release */ = { 663 | isa = XCBuildConfiguration; 664 | baseConfigurationReference = 64332C4CC19DAEB04EB53170474A7F45 /* Pods-UIImageView_YJ_Tests.release.xcconfig */; 665 | buildSettings = { 666 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 667 | CURRENT_PROJECT_VERSION = 1; 668 | DEFINES_MODULE = YES; 669 | DYLIB_COMPATIBILITY_VERSION = 1; 670 | DYLIB_CURRENT_VERSION = 1; 671 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 672 | ENABLE_STRICT_OBJC_MSGSEND = YES; 673 | INFOPLIST_FILE = "Target Support Files/Pods-UIImageView_YJ_Tests/Info.plist"; 674 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 675 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 676 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 677 | MACH_O_TYPE = staticlib; 678 | MODULEMAP_FILE = "Target Support Files/Pods-UIImageView_YJ_Tests/Pods-UIImageView_YJ_Tests.modulemap"; 679 | MTL_ENABLE_DEBUG_INFO = NO; 680 | OTHER_LDFLAGS = ""; 681 | OTHER_LIBTOOLFLAGS = ""; 682 | PODS_ROOT = "$(SRCROOT)"; 683 | PRODUCT_NAME = Pods_UIImageView_YJ_Tests; 684 | SDKROOT = iphoneos; 685 | SKIP_INSTALL = YES; 686 | TARGETED_DEVICE_FAMILY = "1,2"; 687 | VERSIONING_SYSTEM = "apple-generic"; 688 | VERSION_INFO_PREFIX = ""; 689 | }; 690 | name = Release; 691 | }; 692 | D60F17B96F50F87F6B7913658EE6CED5 /* Debug */ = { 693 | isa = XCBuildConfiguration; 694 | baseConfigurationReference = D7F6DA766A8BA61952DA03E440F291BB /* Pods-UIImageView_YJ_Example.debug.xcconfig */; 695 | buildSettings = { 696 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 697 | CURRENT_PROJECT_VERSION = 1; 698 | DEFINES_MODULE = YES; 699 | DYLIB_COMPATIBILITY_VERSION = 1; 700 | DYLIB_CURRENT_VERSION = 1; 701 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 702 | ENABLE_STRICT_OBJC_MSGSEND = YES; 703 | INFOPLIST_FILE = "Target Support Files/Pods-UIImageView_YJ_Example/Info.plist"; 704 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 705 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 706 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 707 | MACH_O_TYPE = staticlib; 708 | MODULEMAP_FILE = "Target Support Files/Pods-UIImageView_YJ_Example/Pods-UIImageView_YJ_Example.modulemap"; 709 | MTL_ENABLE_DEBUG_INFO = YES; 710 | OTHER_LDFLAGS = ""; 711 | OTHER_LIBTOOLFLAGS = ""; 712 | PODS_ROOT = "$(SRCROOT)"; 713 | PRODUCT_NAME = Pods_UIImageView_YJ_Example; 714 | SDKROOT = iphoneos; 715 | SKIP_INSTALL = YES; 716 | TARGETED_DEVICE_FAMILY = "1,2"; 717 | VERSIONING_SYSTEM = "apple-generic"; 718 | VERSION_INFO_PREFIX = ""; 719 | }; 720 | name = Debug; 721 | }; 722 | /* End XCBuildConfiguration section */ 723 | 724 | /* Begin XCConfigurationList section */ 725 | 073B23FD66E54600094EF269012B37A0 /* Build configuration list for PBXNativeTarget "Pods-UIImageView_YJ_Tests" */ = { 726 | isa = XCConfigurationList; 727 | buildConfigurations = ( 728 | 20FDF7A0C7E077101398D01C2BAF110E /* Debug */, 729 | 824F550ACFCB282E604986F99A549B9D /* Release */, 730 | ); 731 | defaultConfigurationIsVisible = 0; 732 | defaultConfigurationName = Release; 733 | }; 734 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 735 | isa = XCConfigurationList; 736 | buildConfigurations = ( 737 | 0B57334D6C23DADAA4F7D802A5760EB2 /* Debug */, 738 | 03CA91998D6773EC5D02B3DB87B8353E /* Release */, 739 | ); 740 | defaultConfigurationIsVisible = 0; 741 | defaultConfigurationName = Release; 742 | }; 743 | 4090B41CE9A6EF15B17BFF0FF77006DF /* Build configuration list for PBXNativeTarget "UIImageView_YJ" */ = { 744 | isa = XCConfigurationList; 745 | buildConfigurations = ( 746 | 05C52E8E195B3E67C2128834BCD1B924 /* Debug */, 747 | 172CECD4FDB6ED34E995A14C1227BDE0 /* Release */, 748 | ); 749 | defaultConfigurationIsVisible = 0; 750 | defaultConfigurationName = Release; 751 | }; 752 | C0251E021FEBBEB2B268530489C7FAFD /* Build configuration list for PBXNativeTarget "Pods-UIImageView_YJ_Example" */ = { 753 | isa = XCConfigurationList; 754 | buildConfigurations = ( 755 | D60F17B96F50F87F6B7913658EE6CED5 /* Debug */, 756 | 03C5E60394E65DCAECAC47E38B5C55DB /* Release */, 757 | ); 758 | defaultConfigurationIsVisible = 0; 759 | defaultConfigurationName = Release; 760 | }; 761 | F2924B8C13C2D859AA21DC5DD7687B2A /* Build configuration list for PBXNativeTarget "UIImageView_YJ-UIImageView_YJ" */ = { 762 | isa = XCConfigurationList; 763 | buildConfigurations = ( 764 | 422B5D6BDF9945E44C6FD32318F74385 /* Debug */, 765 | 40F59912A5513868F98706383EF02EBB /* Release */, 766 | ); 767 | defaultConfigurationIsVisible = 0; 768 | defaultConfigurationName = Release; 769 | }; 770 | /* End XCConfigurationList section */ 771 | }; 772 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 773 | } 774 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/UIImageView_YJ.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Example/Pods-UIImageView_YJ_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## UIImageView_YJ 5 | 6 | Copyright (c) 2016 huang-kun 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - http://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Example/Pods-UIImageView_YJ_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2016 huang-kun <jack-huang-developer@foxmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | Title 38 | UIImageView_YJ 39 | Type 40 | PSGroupSpecifier 41 | 42 | 43 | FooterText 44 | Generated by CocoaPods - http://cocoapods.org 45 | Title 46 | 47 | Type 48 | PSGroupSpecifier 49 | 50 | 51 | StringsTable 52 | Acknowledgements 53 | Title 54 | Acknowledgements 55 | 56 | 57 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Example/Pods-UIImageView_YJ_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_UIImageView_YJ_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_UIImageView_YJ_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Example/Pods-UIImageView_YJ_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | 86 | if [[ "$CONFIGURATION" == "Debug" ]]; then 87 | install_framework "Pods-UIImageView_YJ_Example/UIImageView_YJ.framework" 88 | fi 89 | if [[ "$CONFIGURATION" == "Release" ]]; then 90 | install_framework "Pods-UIImageView_YJ_Example/UIImageView_YJ.framework" 91 | fi 92 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Example/Pods-UIImageView_YJ_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | realpath() { 12 | DIRECTORY="$(cd "${1%/*}" && pwd)" 13 | FILENAME="${1##*/}" 14 | echo "$DIRECTORY/$FILENAME" 15 | } 16 | 17 | install_resource() 18 | { 19 | case $1 in 20 | *.storyboard) 21 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 22 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 23 | ;; 24 | *.xib) 25 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 26 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 27 | ;; 28 | *.framework) 29 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 30 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 31 | echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 32 | rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 33 | ;; 34 | *.xcdatamodel) 35 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" 36 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" 37 | ;; 38 | *.xcdatamodeld) 39 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" 40 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" 41 | ;; 42 | *.xcmappingmodel) 43 | echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" 44 | xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" 45 | ;; 46 | *.xcassets) 47 | ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") 48 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 49 | ;; 50 | /*) 51 | echo "$1" 52 | echo "$1" >> "$RESOURCES_TO_COPY" 53 | ;; 54 | *) 55 | echo "${PODS_ROOT}/$1" 56 | echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" 57 | ;; 58 | esac 59 | } 60 | 61 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 62 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 63 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 64 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 65 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 66 | fi 67 | rm -f "$RESOURCES_TO_COPY" 68 | 69 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 70 | then 71 | case "${TARGETED_DEVICE_FAMILY}" in 72 | 1,2) 73 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 74 | ;; 75 | 1) 76 | TARGET_DEVICE_ARGS="--target-device iphone" 77 | ;; 78 | 2) 79 | TARGET_DEVICE_ARGS="--target-device ipad" 80 | ;; 81 | *) 82 | TARGET_DEVICE_ARGS="--target-device mac" 83 | ;; 84 | esac 85 | 86 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 87 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 88 | while read line; do 89 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 90 | XCASSET_FILES+=("$line") 91 | fi 92 | done <<<"$OTHER_XCASSETS" 93 | 94 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 95 | fi 96 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Example/Pods-UIImageView_YJ_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_UIImageView_YJ_ExampleVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_UIImageView_YJ_ExampleVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Example/Pods-UIImageView_YJ_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/UIImageView_YJ.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "UIImageView_YJ" 5 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-UIImageView_YJ_Example 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Example/Pods-UIImageView_YJ_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_UIImageView_YJ_Example { 2 | umbrella header "Pods-UIImageView_YJ_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Example/Pods-UIImageView_YJ_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/UIImageView_YJ.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "UIImageView_YJ" 5 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-UIImageView_YJ_Example 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Tests/Pods-UIImageView_YJ_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## UIImageView_YJ 5 | 6 | Copyright (c) 2016 huang-kun 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - http://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Tests/Pods-UIImageView_YJ_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2016 huang-kun <jack-huang-developer@foxmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | Title 38 | UIImageView_YJ 39 | Type 40 | PSGroupSpecifier 41 | 42 | 43 | FooterText 44 | Generated by CocoaPods - http://cocoapods.org 45 | Title 46 | 47 | Type 48 | PSGroupSpecifier 49 | 50 | 51 | StringsTable 52 | Acknowledgements 53 | Title 54 | Acknowledgements 55 | 56 | 57 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Tests/Pods-UIImageView_YJ_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_UIImageView_YJ_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_UIImageView_YJ_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Tests/Pods-UIImageView_YJ_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | 86 | if [[ "$CONFIGURATION" == "Debug" ]]; then 87 | install_framework "Pods-UIImageView_YJ_Tests/UIImageView_YJ.framework" 88 | fi 89 | if [[ "$CONFIGURATION" == "Release" ]]; then 90 | install_framework "Pods-UIImageView_YJ_Tests/UIImageView_YJ.framework" 91 | fi 92 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Tests/Pods-UIImageView_YJ_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | realpath() { 12 | DIRECTORY="$(cd "${1%/*}" && pwd)" 13 | FILENAME="${1##*/}" 14 | echo "$DIRECTORY/$FILENAME" 15 | } 16 | 17 | install_resource() 18 | { 19 | case $1 in 20 | *.storyboard) 21 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 22 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 23 | ;; 24 | *.xib) 25 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 26 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 27 | ;; 28 | *.framework) 29 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 30 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 31 | echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 32 | rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 33 | ;; 34 | *.xcdatamodel) 35 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" 36 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" 37 | ;; 38 | *.xcdatamodeld) 39 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" 40 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" 41 | ;; 42 | *.xcmappingmodel) 43 | echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" 44 | xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" 45 | ;; 46 | *.xcassets) 47 | ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") 48 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 49 | ;; 50 | /*) 51 | echo "$1" 52 | echo "$1" >> "$RESOURCES_TO_COPY" 53 | ;; 54 | *) 55 | echo "${PODS_ROOT}/$1" 56 | echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" 57 | ;; 58 | esac 59 | } 60 | 61 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 62 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 63 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 64 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 65 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 66 | fi 67 | rm -f "$RESOURCES_TO_COPY" 68 | 69 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 70 | then 71 | case "${TARGETED_DEVICE_FAMILY}" in 72 | 1,2) 73 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 74 | ;; 75 | 1) 76 | TARGET_DEVICE_ARGS="--target-device iphone" 77 | ;; 78 | 2) 79 | TARGET_DEVICE_ARGS="--target-device ipad" 80 | ;; 81 | *) 82 | TARGET_DEVICE_ARGS="--target-device mac" 83 | ;; 84 | esac 85 | 86 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 87 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 88 | while read line; do 89 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 90 | XCASSET_FILES+=("$line") 91 | fi 92 | done <<<"$OTHER_XCASSETS" 93 | 94 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 95 | fi 96 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Tests/Pods-UIImageView_YJ_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_UIImageView_YJ_TestsVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_UIImageView_YJ_TestsVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Tests/Pods-UIImageView_YJ_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/UIImageView_YJ.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "UIImageView_YJ" 5 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-UIImageView_YJ_Tests 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Tests/Pods-UIImageView_YJ_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_UIImageView_YJ_Tests { 2 | umbrella header "Pods-UIImageView_YJ_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIImageView_YJ_Tests/Pods-UIImageView_YJ_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/UIImageView_YJ.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "UIImageView_YJ" 5 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-UIImageView_YJ_Tests 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/UIImageView_YJ/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/UIImageView_YJ/UIImageView_YJ-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_UIImageView_YJ : NSObject 3 | @end 4 | @implementation PodsDummy_UIImageView_YJ 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/UIImageView_YJ/UIImageView_YJ-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/UIImageView_YJ/UIImageView_YJ-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double UIImageView_YJVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char UIImageView_YJVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/UIImageView_YJ/UIImageView_YJ.modulemap: -------------------------------------------------------------------------------- 1 | framework module UIImageView_YJ { 2 | umbrella header "UIImageView_YJ-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/UIImageView_YJ/UIImageView_YJ.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/UIImageView_YJ" "${PODS_ROOT}/Headers/Public" 3 | PODS_ROOT = ${SRCROOT} 4 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /Example/Tests/Tests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // The contents of this file are implicitly included at the beginning of every test case source file. 2 | 3 | #ifdef __OBJC__ 4 | 5 | 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /Example/Tests/Tests.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIImageView_YJTests.m 3 | // UIImageView_YJTests 4 | // 5 | // Created by huang-kun on 04/02/2016. 6 | // Copyright (c) 2016 huang-kun. All rights reserved. 7 | // 8 | 9 | @import XCTest; 10 | 11 | @interface Tests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation Tests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | 36 | -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/UIImageView_YJ.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 32F9BFA81CAF8AC7002415E3 /* Octocat.png in Resources */ = {isa = PBXBuildFile; fileRef = 32F9BFA71CAF8AC7002415E3 /* Octocat.png */; settings = {ASSET_TAGS = (); }; }; 11 | 32F9BFAE1CAF8C9B002415E3 /* CGGeometry_YJExtension.c in Sources */ = {isa = PBXBuildFile; fileRef = 32F9BFAA1CAF8C9B002415E3 /* CGGeometry_YJExtension.c */; settings = {ASSET_TAGS = (); }; }; 12 | 32F9BFAF1CAF8C9B002415E3 /* UIImageView+YJCategory.m in Sources */ = {isa = PBXBuildFile; fileRef = 32F9BFAD1CAF8C9B002415E3 /* UIImageView+YJCategory.m */; settings = {ASSET_TAGS = (); }; }; 13 | 32F9BFB11CAFBBBC002415E3 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 32F9BFB01CAFBBBC002415E3 /* LaunchScreen.xib */; settings = {ASSET_TAGS = (); }; }; 14 | 3D58EB08C221DC25BA1D488A /* Pods_UIImageView_YJ_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A63BE3A157FD606938DC255 /* Pods_UIImageView_YJ_Tests.framework */; }; 15 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 16 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 17 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 18 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; 19 | 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; 20 | 6003F59E195388D20070C39A /* YJAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* YJAppDelegate.m */; }; 21 | 6003F5A7195388D20070C39A /* YJViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* YJViewController.m */; }; 22 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; 23 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; 24 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 25 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 26 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; 27 | 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; 28 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; 29 | AFC46B2BB139FAEE5DE79FEE /* Pods_UIImageView_YJ_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BD3399F762D41D63CBD49114 /* Pods_UIImageView_YJ_Example.framework */; }; 30 | /* End PBXBuildFile section */ 31 | 32 | /* Begin PBXContainerItemProxy section */ 33 | 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { 34 | isa = PBXContainerItemProxy; 35 | containerPortal = 6003F582195388D10070C39A /* Project object */; 36 | proxyType = 1; 37 | remoteGlobalIDString = 6003F589195388D20070C39A; 38 | remoteInfo = UIImageView_YJ; 39 | }; 40 | /* End PBXContainerItemProxy section */ 41 | 42 | /* Begin PBXFileReference section */ 43 | 27D80B704281821267327664 /* Pods-UIImageView_YJ_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-UIImageView_YJ_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-UIImageView_YJ_Example/Pods-UIImageView_YJ_Example.debug.xcconfig"; sourceTree = ""; }; 44 | 32F9BFA71CAF8AC7002415E3 /* Octocat.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Octocat.png; sourceTree = ""; }; 45 | 32F9BFAA1CAF8C9B002415E3 /* CGGeometry_YJExtension.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = CGGeometry_YJExtension.c; sourceTree = ""; }; 46 | 32F9BFAB1CAF8C9B002415E3 /* CGGeometry_YJExtension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CGGeometry_YJExtension.h; sourceTree = ""; }; 47 | 32F9BFAC1CAF8C9B002415E3 /* UIImageView+YJCategory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImageView+YJCategory.h"; sourceTree = ""; }; 48 | 32F9BFAD1CAF8C9B002415E3 /* UIImageView+YJCategory.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImageView+YJCategory.m"; sourceTree = ""; }; 49 | 32F9BFB01CAFBBBC002415E3 /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = ""; }; 50 | 3A63BE3A157FD606938DC255 /* Pods_UIImageView_YJ_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_UIImageView_YJ_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 51 | 43CFCE716D14CC6BBC041268 /* Pods-UIImageView_YJ_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-UIImageView_YJ_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-UIImageView_YJ_Tests/Pods-UIImageView_YJ_Tests.release.xcconfig"; sourceTree = ""; }; 52 | 5AD9CDAC74C8C26D3D6C406D /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 53 | 6003F58A195388D20070C39A /* UIImageView_YJ_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = UIImageView_YJ_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 54 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 55 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 56 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 57 | 6003F595195388D20070C39A /* UIImageView_YJ-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "UIImageView_YJ-Info.plist"; sourceTree = ""; }; 58 | 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 59 | 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 60 | 6003F59B195388D20070C39A /* UIImageView_YJ-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UIImageView_YJ-Prefix.pch"; sourceTree = ""; }; 61 | 6003F59C195388D20070C39A /* YJAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = YJAppDelegate.h; sourceTree = ""; }; 62 | 6003F59D195388D20070C39A /* YJAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = YJAppDelegate.m; sourceTree = ""; }; 63 | 6003F5A5195388D20070C39A /* YJViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = YJViewController.h; sourceTree = ""; }; 64 | 6003F5A6195388D20070C39A /* YJViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = YJViewController.m; sourceTree = ""; }; 65 | 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 66 | 6003F5AE195388D20070C39A /* UIImageView_YJ_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = UIImageView_YJ_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 67 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 68 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; 69 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 70 | 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 71 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 72 | 71D54D137CAD7CE166872148 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 73 | 85F3987871B1D09C970A4C23 /* UIImageView_YJ.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = UIImageView_YJ.podspec; path = ../UIImageView_YJ.podspec; sourceTree = ""; }; 74 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; 75 | BD3399F762D41D63CBD49114 /* Pods_UIImageView_YJ_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_UIImageView_YJ_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 76 | CA10E6D927101C135983FD2C /* Pods-UIImageView_YJ_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-UIImageView_YJ_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-UIImageView_YJ_Example/Pods-UIImageView_YJ_Example.release.xcconfig"; sourceTree = ""; }; 77 | D0881A2FD875C34942BC7C63 /* Pods-UIImageView_YJ_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-UIImageView_YJ_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-UIImageView_YJ_Tests/Pods-UIImageView_YJ_Tests.debug.xcconfig"; sourceTree = ""; }; 78 | /* End PBXFileReference section */ 79 | 80 | /* Begin PBXFrameworksBuildPhase section */ 81 | 6003F587195388D20070C39A /* Frameworks */ = { 82 | isa = PBXFrameworksBuildPhase; 83 | buildActionMask = 2147483647; 84 | files = ( 85 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 86 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 87 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, 88 | AFC46B2BB139FAEE5DE79FEE /* Pods_UIImageView_YJ_Example.framework in Frameworks */, 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | 6003F5AB195388D20070C39A /* Frameworks */ = { 93 | isa = PBXFrameworksBuildPhase; 94 | buildActionMask = 2147483647; 95 | files = ( 96 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 97 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 98 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, 99 | 3D58EB08C221DC25BA1D488A /* Pods_UIImageView_YJ_Tests.framework in Frameworks */, 100 | ); 101 | runOnlyForDeploymentPostprocessing = 0; 102 | }; 103 | /* End PBXFrameworksBuildPhase section */ 104 | 105 | /* Begin PBXGroup section */ 106 | 32F9BFA91CAF8C9B002415E3 /* UIImageView_YJ */ = { 107 | isa = PBXGroup; 108 | children = ( 109 | 32F9BFAA1CAF8C9B002415E3 /* CGGeometry_YJExtension.c */, 110 | 32F9BFAB1CAF8C9B002415E3 /* CGGeometry_YJExtension.h */, 111 | 32F9BFAC1CAF8C9B002415E3 /* UIImageView+YJCategory.h */, 112 | 32F9BFAD1CAF8C9B002415E3 /* UIImageView+YJCategory.m */, 113 | ); 114 | name = UIImageView_YJ; 115 | path = ../UIImageView_YJ; 116 | sourceTree = ""; 117 | }; 118 | 6003F581195388D10070C39A = { 119 | isa = PBXGroup; 120 | children = ( 121 | 32F9BFA91CAF8C9B002415E3 /* UIImageView_YJ */, 122 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, 123 | 6003F593195388D20070C39A /* Example for UIImageView_YJ */, 124 | 6003F5B5195388D20070C39A /* Tests */, 125 | 6003F58C195388D20070C39A /* Frameworks */, 126 | 6003F58B195388D20070C39A /* Products */, 127 | 7FF12C54A962D30549231132 /* Pods */, 128 | ); 129 | sourceTree = ""; 130 | }; 131 | 6003F58B195388D20070C39A /* Products */ = { 132 | isa = PBXGroup; 133 | children = ( 134 | 6003F58A195388D20070C39A /* UIImageView_YJ_Example.app */, 135 | 6003F5AE195388D20070C39A /* UIImageView_YJ_Tests.xctest */, 136 | ); 137 | name = Products; 138 | sourceTree = ""; 139 | }; 140 | 6003F58C195388D20070C39A /* Frameworks */ = { 141 | isa = PBXGroup; 142 | children = ( 143 | 6003F58D195388D20070C39A /* Foundation.framework */, 144 | 6003F58F195388D20070C39A /* CoreGraphics.framework */, 145 | 6003F591195388D20070C39A /* UIKit.framework */, 146 | 6003F5AF195388D20070C39A /* XCTest.framework */, 147 | BD3399F762D41D63CBD49114 /* Pods_UIImageView_YJ_Example.framework */, 148 | 3A63BE3A157FD606938DC255 /* Pods_UIImageView_YJ_Tests.framework */, 149 | ); 150 | name = Frameworks; 151 | sourceTree = ""; 152 | }; 153 | 6003F593195388D20070C39A /* Example for UIImageView_YJ */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | 6003F59C195388D20070C39A /* YJAppDelegate.h */, 157 | 6003F59D195388D20070C39A /* YJAppDelegate.m */, 158 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, 159 | 6003F5A5195388D20070C39A /* YJViewController.h */, 160 | 6003F5A6195388D20070C39A /* YJViewController.m */, 161 | 32F9BFA71CAF8AC7002415E3 /* Octocat.png */, 162 | 6003F5A8195388D20070C39A /* Images.xcassets */, 163 | 6003F594195388D20070C39A /* Supporting Files */, 164 | ); 165 | name = "Example for UIImageView_YJ"; 166 | path = UIImageView_YJ; 167 | sourceTree = ""; 168 | }; 169 | 6003F594195388D20070C39A /* Supporting Files */ = { 170 | isa = PBXGroup; 171 | children = ( 172 | 6003F595195388D20070C39A /* UIImageView_YJ-Info.plist */, 173 | 6003F596195388D20070C39A /* InfoPlist.strings */, 174 | 6003F599195388D20070C39A /* main.m */, 175 | 32F9BFB01CAFBBBC002415E3 /* LaunchScreen.xib */, 176 | 6003F59B195388D20070C39A /* UIImageView_YJ-Prefix.pch */, 177 | ); 178 | name = "Supporting Files"; 179 | sourceTree = ""; 180 | }; 181 | 6003F5B5195388D20070C39A /* Tests */ = { 182 | isa = PBXGroup; 183 | children = ( 184 | 6003F5BB195388D20070C39A /* Tests.m */, 185 | 6003F5B6195388D20070C39A /* Supporting Files */, 186 | ); 187 | path = Tests; 188 | sourceTree = ""; 189 | }; 190 | 6003F5B6195388D20070C39A /* Supporting Files */ = { 191 | isa = PBXGroup; 192 | children = ( 193 | 6003F5B7195388D20070C39A /* Tests-Info.plist */, 194 | 6003F5B8195388D20070C39A /* InfoPlist.strings */, 195 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, 196 | ); 197 | name = "Supporting Files"; 198 | sourceTree = ""; 199 | }; 200 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { 201 | isa = PBXGroup; 202 | children = ( 203 | 85F3987871B1D09C970A4C23 /* UIImageView_YJ.podspec */, 204 | 5AD9CDAC74C8C26D3D6C406D /* README.md */, 205 | 71D54D137CAD7CE166872148 /* LICENSE */, 206 | ); 207 | name = "Podspec Metadata"; 208 | sourceTree = ""; 209 | }; 210 | 7FF12C54A962D30549231132 /* Pods */ = { 211 | isa = PBXGroup; 212 | children = ( 213 | 27D80B704281821267327664 /* Pods-UIImageView_YJ_Example.debug.xcconfig */, 214 | CA10E6D927101C135983FD2C /* Pods-UIImageView_YJ_Example.release.xcconfig */, 215 | D0881A2FD875C34942BC7C63 /* Pods-UIImageView_YJ_Tests.debug.xcconfig */, 216 | 43CFCE716D14CC6BBC041268 /* Pods-UIImageView_YJ_Tests.release.xcconfig */, 217 | ); 218 | name = Pods; 219 | sourceTree = ""; 220 | }; 221 | /* End PBXGroup section */ 222 | 223 | /* Begin PBXNativeTarget section */ 224 | 6003F589195388D20070C39A /* UIImageView_YJ_Example */ = { 225 | isa = PBXNativeTarget; 226 | buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "UIImageView_YJ_Example" */; 227 | buildPhases = ( 228 | A5E2B65599B64F1AE4B644F8 /* Check Pods Manifest.lock */, 229 | 6003F586195388D20070C39A /* Sources */, 230 | 6003F587195388D20070C39A /* Frameworks */, 231 | 6003F588195388D20070C39A /* Resources */, 232 | 382A87FC29CB24F4F8D506F1 /* Embed Pods Frameworks */, 233 | 380771838DF1A897D958D18D /* Copy Pods Resources */, 234 | ); 235 | buildRules = ( 236 | ); 237 | dependencies = ( 238 | ); 239 | name = UIImageView_YJ_Example; 240 | productName = UIImageView_YJ; 241 | productReference = 6003F58A195388D20070C39A /* UIImageView_YJ_Example.app */; 242 | productType = "com.apple.product-type.application"; 243 | }; 244 | 6003F5AD195388D20070C39A /* UIImageView_YJ_Tests */ = { 245 | isa = PBXNativeTarget; 246 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "UIImageView_YJ_Tests" */; 247 | buildPhases = ( 248 | 9C0AA7BF58A363128AA5ADE8 /* Check Pods Manifest.lock */, 249 | 6003F5AA195388D20070C39A /* Sources */, 250 | 6003F5AB195388D20070C39A /* Frameworks */, 251 | 6003F5AC195388D20070C39A /* Resources */, 252 | F8786FD00DE06DDEC38B1BAF /* Embed Pods Frameworks */, 253 | 44323D71E9133B18CF6A8292 /* Copy Pods Resources */, 254 | ); 255 | buildRules = ( 256 | ); 257 | dependencies = ( 258 | 6003F5B4195388D20070C39A /* PBXTargetDependency */, 259 | ); 260 | name = UIImageView_YJ_Tests; 261 | productName = UIImageView_YJTests; 262 | productReference = 6003F5AE195388D20070C39A /* UIImageView_YJ_Tests.xctest */; 263 | productType = "com.apple.product-type.bundle.unit-test"; 264 | }; 265 | /* End PBXNativeTarget section */ 266 | 267 | /* Begin PBXProject section */ 268 | 6003F582195388D10070C39A /* Project object */ = { 269 | isa = PBXProject; 270 | attributes = { 271 | CLASSPREFIX = YJ; 272 | LastUpgradeCheck = 0720; 273 | ORGANIZATIONNAME = "huang-kun"; 274 | TargetAttributes = { 275 | 6003F5AD195388D20070C39A = { 276 | TestTargetID = 6003F589195388D20070C39A; 277 | }; 278 | }; 279 | }; 280 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "UIImageView_YJ" */; 281 | compatibilityVersion = "Xcode 3.2"; 282 | developmentRegion = English; 283 | hasScannedForEncodings = 0; 284 | knownRegions = ( 285 | en, 286 | Base, 287 | ); 288 | mainGroup = 6003F581195388D10070C39A; 289 | productRefGroup = 6003F58B195388D20070C39A /* Products */; 290 | projectDirPath = ""; 291 | projectRoot = ""; 292 | targets = ( 293 | 6003F589195388D20070C39A /* UIImageView_YJ_Example */, 294 | 6003F5AD195388D20070C39A /* UIImageView_YJ_Tests */, 295 | ); 296 | }; 297 | /* End PBXProject section */ 298 | 299 | /* Begin PBXResourcesBuildPhase section */ 300 | 6003F588195388D20070C39A /* Resources */ = { 301 | isa = PBXResourcesBuildPhase; 302 | buildActionMask = 2147483647; 303 | files = ( 304 | 32F9BFB11CAFBBBC002415E3 /* LaunchScreen.xib in Resources */, 305 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, 306 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, 307 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, 308 | 32F9BFA81CAF8AC7002415E3 /* Octocat.png in Resources */, 309 | ); 310 | runOnlyForDeploymentPostprocessing = 0; 311 | }; 312 | 6003F5AC195388D20070C39A /* Resources */ = { 313 | isa = PBXResourcesBuildPhase; 314 | buildActionMask = 2147483647; 315 | files = ( 316 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, 317 | ); 318 | runOnlyForDeploymentPostprocessing = 0; 319 | }; 320 | /* End PBXResourcesBuildPhase section */ 321 | 322 | /* Begin PBXShellScriptBuildPhase section */ 323 | 380771838DF1A897D958D18D /* Copy Pods Resources */ = { 324 | isa = PBXShellScriptBuildPhase; 325 | buildActionMask = 2147483647; 326 | files = ( 327 | ); 328 | inputPaths = ( 329 | ); 330 | name = "Copy Pods Resources"; 331 | outputPaths = ( 332 | ); 333 | runOnlyForDeploymentPostprocessing = 0; 334 | shellPath = /bin/sh; 335 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-UIImageView_YJ_Example/Pods-UIImageView_YJ_Example-resources.sh\"\n"; 336 | showEnvVarsInLog = 0; 337 | }; 338 | 382A87FC29CB24F4F8D506F1 /* Embed Pods Frameworks */ = { 339 | isa = PBXShellScriptBuildPhase; 340 | buildActionMask = 2147483647; 341 | files = ( 342 | ); 343 | inputPaths = ( 344 | ); 345 | name = "Embed Pods Frameworks"; 346 | outputPaths = ( 347 | ); 348 | runOnlyForDeploymentPostprocessing = 0; 349 | shellPath = /bin/sh; 350 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-UIImageView_YJ_Example/Pods-UIImageView_YJ_Example-frameworks.sh\"\n"; 351 | showEnvVarsInLog = 0; 352 | }; 353 | 44323D71E9133B18CF6A8292 /* Copy Pods Resources */ = { 354 | isa = PBXShellScriptBuildPhase; 355 | buildActionMask = 2147483647; 356 | files = ( 357 | ); 358 | inputPaths = ( 359 | ); 360 | name = "Copy Pods Resources"; 361 | outputPaths = ( 362 | ); 363 | runOnlyForDeploymentPostprocessing = 0; 364 | shellPath = /bin/sh; 365 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-UIImageView_YJ_Tests/Pods-UIImageView_YJ_Tests-resources.sh\"\n"; 366 | showEnvVarsInLog = 0; 367 | }; 368 | 9C0AA7BF58A363128AA5ADE8 /* Check Pods Manifest.lock */ = { 369 | isa = PBXShellScriptBuildPhase; 370 | buildActionMask = 2147483647; 371 | files = ( 372 | ); 373 | inputPaths = ( 374 | ); 375 | name = "Check Pods Manifest.lock"; 376 | outputPaths = ( 377 | ); 378 | runOnlyForDeploymentPostprocessing = 0; 379 | shellPath = /bin/sh; 380 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 381 | showEnvVarsInLog = 0; 382 | }; 383 | A5E2B65599B64F1AE4B644F8 /* Check Pods Manifest.lock */ = { 384 | isa = PBXShellScriptBuildPhase; 385 | buildActionMask = 2147483647; 386 | files = ( 387 | ); 388 | inputPaths = ( 389 | ); 390 | name = "Check Pods Manifest.lock"; 391 | outputPaths = ( 392 | ); 393 | runOnlyForDeploymentPostprocessing = 0; 394 | shellPath = /bin/sh; 395 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 396 | showEnvVarsInLog = 0; 397 | }; 398 | F8786FD00DE06DDEC38B1BAF /* Embed Pods Frameworks */ = { 399 | isa = PBXShellScriptBuildPhase; 400 | buildActionMask = 2147483647; 401 | files = ( 402 | ); 403 | inputPaths = ( 404 | ); 405 | name = "Embed Pods Frameworks"; 406 | outputPaths = ( 407 | ); 408 | runOnlyForDeploymentPostprocessing = 0; 409 | shellPath = /bin/sh; 410 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-UIImageView_YJ_Tests/Pods-UIImageView_YJ_Tests-frameworks.sh\"\n"; 411 | showEnvVarsInLog = 0; 412 | }; 413 | /* End PBXShellScriptBuildPhase section */ 414 | 415 | /* Begin PBXSourcesBuildPhase section */ 416 | 6003F586195388D20070C39A /* Sources */ = { 417 | isa = PBXSourcesBuildPhase; 418 | buildActionMask = 2147483647; 419 | files = ( 420 | 6003F59E195388D20070C39A /* YJAppDelegate.m in Sources */, 421 | 6003F5A7195388D20070C39A /* YJViewController.m in Sources */, 422 | 32F9BFAE1CAF8C9B002415E3 /* CGGeometry_YJExtension.c in Sources */, 423 | 32F9BFAF1CAF8C9B002415E3 /* UIImageView+YJCategory.m in Sources */, 424 | 6003F59A195388D20070C39A /* main.m in Sources */, 425 | ); 426 | runOnlyForDeploymentPostprocessing = 0; 427 | }; 428 | 6003F5AA195388D20070C39A /* Sources */ = { 429 | isa = PBXSourcesBuildPhase; 430 | buildActionMask = 2147483647; 431 | files = ( 432 | 6003F5BC195388D20070C39A /* Tests.m in Sources */, 433 | ); 434 | runOnlyForDeploymentPostprocessing = 0; 435 | }; 436 | /* End PBXSourcesBuildPhase section */ 437 | 438 | /* Begin PBXTargetDependency section */ 439 | 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { 440 | isa = PBXTargetDependency; 441 | target = 6003F589195388D20070C39A /* UIImageView_YJ_Example */; 442 | targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; 443 | }; 444 | /* End PBXTargetDependency section */ 445 | 446 | /* Begin PBXVariantGroup section */ 447 | 6003F596195388D20070C39A /* InfoPlist.strings */ = { 448 | isa = PBXVariantGroup; 449 | children = ( 450 | 6003F597195388D20070C39A /* en */, 451 | ); 452 | name = InfoPlist.strings; 453 | sourceTree = ""; 454 | }; 455 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { 456 | isa = PBXVariantGroup; 457 | children = ( 458 | 6003F5B9195388D20070C39A /* en */, 459 | ); 460 | name = InfoPlist.strings; 461 | sourceTree = ""; 462 | }; 463 | /* End PBXVariantGroup section */ 464 | 465 | /* Begin XCBuildConfiguration section */ 466 | 6003F5BD195388D20070C39A /* Debug */ = { 467 | isa = XCBuildConfiguration; 468 | buildSettings = { 469 | ALWAYS_SEARCH_USER_PATHS = NO; 470 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 471 | CLANG_CXX_LIBRARY = "libc++"; 472 | CLANG_ENABLE_MODULES = YES; 473 | CLANG_ENABLE_OBJC_ARC = YES; 474 | CLANG_WARN_BOOL_CONVERSION = YES; 475 | CLANG_WARN_CONSTANT_CONVERSION = YES; 476 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 477 | CLANG_WARN_EMPTY_BODY = YES; 478 | CLANG_WARN_ENUM_CONVERSION = YES; 479 | CLANG_WARN_INT_CONVERSION = YES; 480 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 481 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 482 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 483 | COPY_PHASE_STRIP = NO; 484 | ENABLE_TESTABILITY = YES; 485 | GCC_C_LANGUAGE_STANDARD = gnu99; 486 | GCC_DYNAMIC_NO_PIC = NO; 487 | GCC_OPTIMIZATION_LEVEL = 0; 488 | GCC_PREPROCESSOR_DEFINITIONS = ( 489 | "DEBUG=1", 490 | "$(inherited)", 491 | ); 492 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 493 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 494 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 495 | GCC_WARN_UNDECLARED_SELECTOR = YES; 496 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 497 | GCC_WARN_UNUSED_FUNCTION = YES; 498 | GCC_WARN_UNUSED_VARIABLE = YES; 499 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 500 | ONLY_ACTIVE_ARCH = YES; 501 | SDKROOT = iphoneos; 502 | TARGETED_DEVICE_FAMILY = "1,2"; 503 | }; 504 | name = Debug; 505 | }; 506 | 6003F5BE195388D20070C39A /* Release */ = { 507 | isa = XCBuildConfiguration; 508 | buildSettings = { 509 | ALWAYS_SEARCH_USER_PATHS = NO; 510 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 511 | CLANG_CXX_LIBRARY = "libc++"; 512 | CLANG_ENABLE_MODULES = YES; 513 | CLANG_ENABLE_OBJC_ARC = YES; 514 | CLANG_WARN_BOOL_CONVERSION = YES; 515 | CLANG_WARN_CONSTANT_CONVERSION = YES; 516 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 517 | CLANG_WARN_EMPTY_BODY = YES; 518 | CLANG_WARN_ENUM_CONVERSION = YES; 519 | CLANG_WARN_INT_CONVERSION = YES; 520 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 521 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 522 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 523 | COPY_PHASE_STRIP = YES; 524 | ENABLE_NS_ASSERTIONS = NO; 525 | GCC_C_LANGUAGE_STANDARD = gnu99; 526 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 527 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 528 | GCC_WARN_UNDECLARED_SELECTOR = YES; 529 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 530 | GCC_WARN_UNUSED_FUNCTION = YES; 531 | GCC_WARN_UNUSED_VARIABLE = YES; 532 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 533 | SDKROOT = iphoneos; 534 | TARGETED_DEVICE_FAMILY = "1,2"; 535 | VALIDATE_PRODUCT = YES; 536 | }; 537 | name = Release; 538 | }; 539 | 6003F5C0195388D20070C39A /* Debug */ = { 540 | isa = XCBuildConfiguration; 541 | baseConfigurationReference = 27D80B704281821267327664 /* Pods-UIImageView_YJ_Example.debug.xcconfig */; 542 | buildSettings = { 543 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 544 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 545 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 546 | GCC_PREFIX_HEADER = "UIImageView_YJ/UIImageView_YJ-Prefix.pch"; 547 | INFOPLIST_FILE = "UIImageView_YJ/UIImageView_YJ-Info.plist"; 548 | MODULE_NAME = ExampleApp; 549 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 550 | PRODUCT_NAME = "$(TARGET_NAME)"; 551 | WRAPPER_EXTENSION = app; 552 | }; 553 | name = Debug; 554 | }; 555 | 6003F5C1195388D20070C39A /* Release */ = { 556 | isa = XCBuildConfiguration; 557 | baseConfigurationReference = CA10E6D927101C135983FD2C /* Pods-UIImageView_YJ_Example.release.xcconfig */; 558 | buildSettings = { 559 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 560 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 561 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 562 | GCC_PREFIX_HEADER = "UIImageView_YJ/UIImageView_YJ-Prefix.pch"; 563 | INFOPLIST_FILE = "UIImageView_YJ/UIImageView_YJ-Info.plist"; 564 | MODULE_NAME = ExampleApp; 565 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 566 | PRODUCT_NAME = "$(TARGET_NAME)"; 567 | WRAPPER_EXTENSION = app; 568 | }; 569 | name = Release; 570 | }; 571 | 6003F5C3195388D20070C39A /* Debug */ = { 572 | isa = XCBuildConfiguration; 573 | baseConfigurationReference = D0881A2FD875C34942BC7C63 /* Pods-UIImageView_YJ_Tests.debug.xcconfig */; 574 | buildSettings = { 575 | BUNDLE_LOADER = "$(TEST_HOST)"; 576 | FRAMEWORK_SEARCH_PATHS = ( 577 | "$(SDKROOT)/Developer/Library/Frameworks", 578 | "$(inherited)", 579 | "$(DEVELOPER_FRAMEWORKS_DIR)", 580 | ); 581 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 582 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 583 | GCC_PREPROCESSOR_DEFINITIONS = ( 584 | "DEBUG=1", 585 | "$(inherited)", 586 | ); 587 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 588 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 589 | PRODUCT_NAME = "$(TARGET_NAME)"; 590 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/UIImageView_YJ_Example.app/UIImageView_YJ_Example"; 591 | WRAPPER_EXTENSION = xctest; 592 | }; 593 | name = Debug; 594 | }; 595 | 6003F5C4195388D20070C39A /* Release */ = { 596 | isa = XCBuildConfiguration; 597 | baseConfigurationReference = 43CFCE716D14CC6BBC041268 /* Pods-UIImageView_YJ_Tests.release.xcconfig */; 598 | buildSettings = { 599 | BUNDLE_LOADER = "$(TEST_HOST)"; 600 | FRAMEWORK_SEARCH_PATHS = ( 601 | "$(SDKROOT)/Developer/Library/Frameworks", 602 | "$(inherited)", 603 | "$(DEVELOPER_FRAMEWORKS_DIR)", 604 | ); 605 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 606 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 607 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 608 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 609 | PRODUCT_NAME = "$(TARGET_NAME)"; 610 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/UIImageView_YJ_Example.app/UIImageView_YJ_Example"; 611 | WRAPPER_EXTENSION = xctest; 612 | }; 613 | name = Release; 614 | }; 615 | /* End XCBuildConfiguration section */ 616 | 617 | /* Begin XCConfigurationList section */ 618 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "UIImageView_YJ" */ = { 619 | isa = XCConfigurationList; 620 | buildConfigurations = ( 621 | 6003F5BD195388D20070C39A /* Debug */, 622 | 6003F5BE195388D20070C39A /* Release */, 623 | ); 624 | defaultConfigurationIsVisible = 0; 625 | defaultConfigurationName = Release; 626 | }; 627 | 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "UIImageView_YJ_Example" */ = { 628 | isa = XCConfigurationList; 629 | buildConfigurations = ( 630 | 6003F5C0195388D20070C39A /* Debug */, 631 | 6003F5C1195388D20070C39A /* Release */, 632 | ); 633 | defaultConfigurationIsVisible = 0; 634 | defaultConfigurationName = Release; 635 | }; 636 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "UIImageView_YJ_Tests" */ = { 637 | isa = XCConfigurationList; 638 | buildConfigurations = ( 639 | 6003F5C3195388D20070C39A /* Debug */, 640 | 6003F5C4195388D20070C39A /* Release */, 641 | ); 642 | defaultConfigurationIsVisible = 0; 643 | defaultConfigurationName = Release; 644 | }; 645 | /* End XCConfigurationList section */ 646 | }; 647 | rootObject = 6003F582195388D10070C39A /* Project object */; 648 | } 649 | -------------------------------------------------------------------------------- /Example/UIImageView_YJ.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/UIImageView_YJ.xcodeproj/xcshareddata/xcschemes/UIImageView_YJ-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 64 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 85 | 91 | 92 | 93 | 94 | 96 | 97 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /Example/UIImageView_YJ.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/UIImageView_YJ/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "40x40", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "60x60", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "ipad", 20 | "size" : "29x29", 21 | "scale" : "1x" 22 | }, 23 | { 24 | "idiom" : "ipad", 25 | "size" : "29x29", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "ipad", 30 | "size" : "40x40", 31 | "scale" : "1x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "40x40", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "76x76", 41 | "scale" : "1x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "76x76", 46 | "scale" : "2x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Example/UIImageView_YJ/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "orientation" : "portrait", 20 | "idiom" : "ipad", 21 | "extent" : "full-screen", 22 | "minimum-system-version" : "7.0", 23 | "scale" : "1x" 24 | }, 25 | { 26 | "orientation" : "landscape", 27 | "idiom" : "ipad", 28 | "extent" : "full-screen", 29 | "minimum-system-version" : "7.0", 30 | "scale" : "1x" 31 | }, 32 | { 33 | "orientation" : "portrait", 34 | "idiom" : "ipad", 35 | "extent" : "full-screen", 36 | "minimum-system-version" : "7.0", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "orientation" : "landscape", 41 | "idiom" : "ipad", 42 | "extent" : "full-screen", 43 | "minimum-system-version" : "7.0", 44 | "scale" : "2x" 45 | } 46 | ], 47 | "info" : { 48 | "version" : 1, 49 | "author" : "xcode" 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Example/UIImageView_YJ/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /Example/UIImageView_YJ/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /Example/UIImageView_YJ/Octocat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huang-kun/UIImageView_YJ/395ff87a3edb10cceefee781cd2f82ecebfaa2d5/Example/UIImageView_YJ/Octocat.png -------------------------------------------------------------------------------- /Example/UIImageView_YJ/UIImageView_YJ-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UILaunchStoryboardName 6 | LaunchScreen 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleDisplayName 10 | ${PRODUCT_NAME} 11 | CFBundleExecutable 12 | ${EXECUTABLE_NAME} 13 | CFBundleIdentifier 14 | $(PRODUCT_BUNDLE_IDENTIFIER) 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | ${PRODUCT_NAME} 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | 1.0 23 | CFBundleSignature 24 | ???? 25 | CFBundleVersion 26 | 1.0 27 | LSRequiresIPhoneOS 28 | 29 | UIMainStoryboardFile 30 | Main 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UISupportedInterfaceOrientations~ipad 42 | 43 | UIInterfaceOrientationPortrait 44 | UIInterfaceOrientationPortraitUpsideDown 45 | UIInterfaceOrientationLandscapeLeft 46 | UIInterfaceOrientationLandscapeRight 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /Example/UIImageView_YJ/UIImageView_YJ-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | @import UIKit; 15 | @import Foundation; 16 | #endif 17 | -------------------------------------------------------------------------------- /Example/UIImageView_YJ/YJAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // YJAppDelegate.h 3 | // UIImageView_YJ 4 | // 5 | // Created by huang-kun on 04/02/2016. 6 | // Copyright (c) 2016 huang-kun. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface YJAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example/UIImageView_YJ/YJAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // YJAppDelegate.m 3 | // UIImageView_YJ 4 | // 5 | // Created by huang-kun on 04/02/2016. 6 | // Copyright (c) 2016 huang-kun. All rights reserved. 7 | // 8 | 9 | #import "YJAppDelegate.h" 10 | 11 | @implementation YJAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 22 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 38 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application 42 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Example/UIImageView_YJ/YJViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // YJViewController.h 3 | // UIImageView_YJ 4 | // 5 | // Created by huang-kun on 04/02/2016. 6 | // Copyright (c) 2016 huang-kun. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface YJViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/UIImageView_YJ/YJViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // YJViewController.m 3 | // UIImageView_YJ 4 | // 5 | // Created by huang-kun on 04/02/2016. 6 | // Copyright (c) 2016 huang-kun. All rights reserved. 7 | // 8 | 9 | #import "YJViewController.h" 10 | #import "UIImageView+YJCategory.h" 11 | 12 | @interface YJViewController () 13 | @property (nonatomic, strong) IBOutlet UIImageView *imageView; 14 | @end 15 | 16 | @implementation YJViewController 17 | 18 | - (void)viewDidLoad { 19 | [super viewDidLoad]; 20 | self.imageView.yj_contentMode = YJViewContentModeScaleAspectFit | YJViewContentModeTop; 21 | } 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /Example/UIImageView_YJ/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/UIImageView_YJ/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // UIImageView_YJ 4 | // 5 | // Created by huang-kun on 04/02/2016. 6 | // Copyright (c) 2016 huang-kun. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | #import "YJAppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) 13 | { 14 | @autoreleasepool { 15 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([YJAppDelegate class])); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016 huang-kun 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /Octocat_fit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huang-kun/UIImageView_YJ/395ff87a3edb10cceefee781cd2f82ecebfaa2d5/Octocat_fit.png -------------------------------------------------------------------------------- /Octocat_fit_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huang-kun/UIImageView_YJ/395ff87a3edb10cceefee781cd2f82ecebfaa2d5/Octocat_fit_top.png -------------------------------------------------------------------------------- /Octocat_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huang-kun/UIImageView_YJ/395ff87a3edb10cceefee781cd2f82ecebfaa2d5/Octocat_top.png -------------------------------------------------------------------------------- /Pod/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huang-kun/UIImageView_YJ/395ff87a3edb10cceefee781cd2f82ecebfaa2d5/Pod/Assets/.gitkeep -------------------------------------------------------------------------------- /Pod/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huang-kun/UIImageView_YJ/395ff87a3edb10cceefee781cd2f82ecebfaa2d5/Pod/Classes/.gitkeep -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # UIImageView_YJ 2 | 3 | [![CI Status](http://img.shields.io/travis/huang-kun/UIImageView_YJ.svg?style=flat)](https://travis-ci.org/huang-kun/UIImageView_YJ) 4 | [![Version](https://img.shields.io/cocoapods/v/UIImageView_YJ.svg?style=flat)](http://cocoapods.org/pods/UIImageView_YJ) 5 | [![License](https://img.shields.io/cocoapods/l/UIImageView_YJ.svg?style=flat)](http://cocoapods.org/pods/UIImageView_YJ) 6 | [![Platform](https://img.shields.io/cocoapods/p/UIImageView_YJ.svg?style=flat)](http://cocoapods.org/pods/UIImageView_YJ) 7 | 8 | ## Usage 9 | 10 | #### UIViewContentMode 11 | 12 | When you display an image in a UIImageView. The UIViewContentMode decides the rule of displaying. 13 | 14 | e.g. To make the image scale aspect fit in the imageView, just set UIImageView's contentMode property to `UIViewContentModeScaleAspectFit`. 15 | 16 | ``` 17 | imageView.contentMode = UIViewContentModeScaleAspectFit; 18 | ``` 19 | 20 | ![fit](Octocat_fit.png) 21 | 22 | To make the image align top of the imageView, just set UIImageView's contentMode property to `UIViewContentModeTop`. (The image itself is big!) 23 | 24 | ``` 25 | imageView.contentMode = UIViewContentModeTop; 26 | ``` 27 | 28 | ![Top](Octocat_top.png) 29 | 30 | However, what if you would like to make it both fit in the imageView and then align top ? Obviously There is no option like `UIViewContentModeScaleAspectFitTop` provided by the UIViewContentMode enum type. 31 | 32 |
33 | 34 | #### YJViewContentMode 35 | 36 | This is a new enum type defined by `NS_OPTIONS` macro. To achieve both fit and align top effect, just set it's `yj_contentMode` property: 37 | 38 | ``` 39 | imageView.yj_contentMode = YJViewContentModeScaleAspectFit | YJViewContentModeTop; 40 | ``` 41 | 42 | Write one line of code, you get the result like this: 43 | 44 | ![Fit_Top](Octocat_fit_top.png) 45 | 46 | There are a lot of combinations you can specify like (Fit | Top | Left). Once your combinations encounter the conflict, e.g. (Fit | Fill) or (Top | bottom), it automatically filtering the result by giving up some of the options. 47 | 48 |
49 | 50 | ## Requirements 51 | 52 | ARC enabled 53 | 54 | ## Installation 55 | 56 | UIImageView_YJ is available through [CocoaPods](http://cocoapods.org). To install 57 | it, simply add the following line to your Podfile: 58 | 59 | ```ruby 60 | pod "UIImageView_YJ" 61 | ``` 62 | 63 | ## Author 64 | 65 | huang-kun, jack-huang-developer@foxmail.com 66 | 67 | ## License 68 | 69 | UIImageView_YJ is available under the MIT license. See the LICENSE file for more info. 70 | 71 | 72 | -------------------------------------------------------------------------------- /UIImageView_YJ.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint UIImageView_YJ.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = "UIImageView_YJ" 11 | s.version = "0.1.2" 12 | s.summary = "UIImageView_YJ is a UIImageView class extension that can use new contentMode to display it's contents." 13 | s.description = <<-DESC 14 | UIImageView_YJ is a UIImageView class extension that can use new contentMode to display it's contents. Simply using yj_contentMode instead of contentMode. 15 | DESC 16 | s.homepage = "https://github.com/huang-kun/UIImageView_YJ" 17 | # s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2" 18 | s.license = 'MIT' 19 | s.author = { "huang-kun" => "jack-huang-developer@foxmail.com" } 20 | s.source = { :git => "https://github.com/huang-kun/UIImageView_YJ.git", :tag => s.version.to_s } 21 | # s.social_media_url = 'https://twitter.com/' 22 | 23 | s.platform = :ios, '6.0' 24 | s.requires_arc = true 25 | 26 | s.source_files = 'UIImageView_YJ/**/*' 27 | s.public_header_files = 'UIImageView_YJ/**/*.h' 28 | s.frameworks = 'UIKit' 29 | # s.dependency 'AFNetworking', '~> 2.3' 30 | end 31 | -------------------------------------------------------------------------------- /UIImageView_YJ/CGGeometry_YJExtension.c: -------------------------------------------------------------------------------- 1 | // 2 | // CGGeometry_YJExtension.c 3 | // YJKit 4 | // 5 | // Created by huang-kun on 16/3/24. 6 | // Copyright © 2016年 huang-kun. All rights reserved. 7 | // 8 | 9 | #include "CGGeometry_YJExtension.h" 10 | 11 | CGSize CGSizeScaleToSize(CGSize originalSize, CGSize inSize, CGSizeScaleRule scaleRule) { 12 | // Validation 13 | if (CGSizeEqualToSize(CGSizeZero, originalSize) && CGSizeEqualToSize(CGSizeZero, inSize)) 14 | return CGSizeZero; 15 | else if (CGSizeEqualToSize(CGSizeZero, originalSize)) 16 | return inSize; 17 | else if (CGSizeEqualToSize(CGSizeZero, inSize)) 18 | return originalSize; 19 | // Set equal width 20 | CGSize finalSize = originalSize; 21 | CGFloat ratio = originalSize.width / originalSize.height; 22 | finalSize.width = inSize.width; 23 | finalSize.height = inSize.width / ratio; 24 | // Set equal height if needed 25 | switch (scaleRule) { 26 | case CGRectScaleNone: 27 | return originalSize; 28 | case CGRectScaleAspectFit: 29 | if (finalSize.height > inSize.height) goto _yj_setEqualHeight_; break; 30 | case CGRectScaleAspectFill: 31 | if (finalSize.height < inSize.height) goto _yj_setEqualHeight_; break; 32 | } 33 | return finalSize; 34 | 35 | _yj_setEqualHeight_: 36 | finalSize.height = inSize.height; 37 | finalSize.width = inSize.height * ratio; 38 | return finalSize; 39 | } 40 | 41 | CGRect CGRectPositionToRect(CGRect originalRect, CGRect inRect, CGRectScaleRule scaleRule, CGRectAlignRule alignRule) { 42 | CGSize originalSize = originalRect.size; 43 | CGSize newSize = CGSizeScaleToSize(originalSize, inRect.size, (CGRectPositionOptions)scaleRule); 44 | CGPoint center = CGPointMake(CGRectGetMidX(inRect), CGRectGetMidY(inRect)); 45 | CGPoint newOrigin = CGPointMake(center.x - newSize.width / 2, center.y - newSize.height / 2); 46 | CGRect r = (CGRect) { newOrigin, newSize }; 47 | // If multiple values are applied, some of them may not be satisfied and result will be filtered by priority. 48 | // The priorites (from high to low) are: top -> left -> right -> bottom -> center 49 | if (alignRule & CGRectAlignBottom) r = CGRectSetEqualBottomToRect(r, inRect); 50 | if (alignRule & CGRectAlignRight) r = CGRectSetEqualRightToRect(r, inRect); 51 | if (alignRule & CGRectAlignLeft) r = CGRectSetEqualLeftToRect(r, inRect); 52 | if (alignRule & CGRectAlignTop) r = CGRectSetEqualTopToRect(r, inRect); 53 | return r; 54 | } 55 | 56 | CGRect CGRectPositioned(CGRect originalRect, CGRect inRect, CGRectPositionOptions positionOptions) { 57 | CGRectPositionOptions scaleOption = CGRectScaleNone; 58 | CGRectPositionOptions alignRule = positionOptions; 59 | // If "Fit" and "Fill" are both chosen, then "Fit" takes priority 60 | if (positionOptions & CGRectScaleAspectFill) { 61 | scaleOption = CGRectScaleAspectFill; 62 | alignRule = positionOptions ^ CGRectScaleAspectFill; 63 | } 64 | if (positionOptions & CGRectScaleAspectFit) { 65 | scaleOption = CGRectScaleAspectFit; 66 | alignRule = alignRule ^ CGRectScaleAspectFit; 67 | } 68 | return CGRectPositionToRect(originalRect, inRect, scaleOption, alignRule); 69 | } 70 | -------------------------------------------------------------------------------- /UIImageView_YJ/CGGeometry_YJExtension.h: -------------------------------------------------------------------------------- 1 | // 2 | // CGGeometry_YJExtension.h 3 | // YJKit 4 | // 5 | // Created by huang-kun on 16/3/24. 6 | // Copyright © 2016年 huang-kun. All rights reserved. 7 | // 8 | 9 | #ifndef CGGeometry_YJExtension_h 10 | #define CGGeometry_YJExtension_h 11 | 12 | #include 13 | 14 | typedef enum { 15 | CGSizeScaleNone = 0x00, 16 | CGSizeScaleAspectFit = 0x10, 17 | CGSizeScaleAspectFill = 0x20, 18 | } CGSizeScaleRule; 19 | 20 | typedef enum { 21 | CGRectScaleNone = CGSizeScaleNone, 22 | CGRectScaleAspectFit = CGSizeScaleAspectFit, 23 | CGRectScaleAspectFill = CGSizeScaleAspectFill, 24 | } CGRectScaleRule; 25 | 26 | typedef enum { 27 | CGRectAlignCenter = 0x00, 28 | CGRectAlignTop = 0x01, 29 | CGRectAlignLeft = 0x02, 30 | CGRectAlignBottom = 0x04, 31 | CGRectAlignRight = 0x08, 32 | 33 | CGRectAlignTopLeft = 0x03, 34 | CGRectAlignTopRight = 0x09, 35 | CGRectAlignBottomLeft = 0x06, 36 | CGRectAlignBottomRight = 0x0C, 37 | } CGRectAlignRule; 38 | 39 | /** 40 | * CGRectPositionOptions is considered as an enum type which contains the CGRectScaleRule and CGRectAlignRule. 41 | * @code 42 | enum CGRectPositionOptions { 43 | // CGRectAlignRule 44 | CGRectAlignCenter = 0 << 0, 45 | CGRectAlignTop = 1 << 0, 46 | CGRectAlignLeft = 1 << 1, 47 | CGRectAlignBottom = 1 << 2, 48 | CGRectAlignRight = 1 << 3, 49 | 50 | // CGRectScaleRule 51 | CGRectScaleNone = 0 << 4, 52 | CGRectScaleAspectFit = 1 << 4, 53 | CGRectScaleAspectFill = 2 << 4, 54 | }; 55 | * @endcode 56 | */ 57 | typedef unsigned int CGRectPositionOptions; 58 | 59 | /// Returns a rect which has the same top edge position as "sameWithRect" parameter. 60 | CG_INLINE CGRect CGRectSetEqualTopToRect(CGRect rect, CGRect sameWithRect) { 61 | rect.origin.y = sameWithRect.origin.y; 62 | return rect; 63 | } 64 | 65 | /// Returns a rect which has the same left edge position as "sameWithRect" parameter. 66 | CG_INLINE CGRect CGRectSetEqualLeftToRect(CGRect rect, CGRect sameWithRect) { 67 | rect.origin.x = sameWithRect.origin.x; 68 | return rect; 69 | } 70 | 71 | /// Returns a rect which has the same bottom edge position as "sameWithRect" parameter. 72 | CG_INLINE CGRect CGRectSetEqualBottomToRect(CGRect rect, CGRect sameWithRect) { 73 | rect.origin.y = sameWithRect.origin.y + sameWithRect.size.height - rect.size.height; 74 | return rect; 75 | } 76 | 77 | /// Returns a rect which has the same right edge position as "sameWithRect" parameter. 78 | CG_INLINE CGRect CGRectSetEqualRightToRect(CGRect rect, CGRect sameWithRect) { 79 | rect.origin.x = sameWithRect.origin.x + sameWithRect.size.width - rect.size.width; 80 | return rect; 81 | } 82 | 83 | /// Returns a rect which has the same center position as "sameWithRect" parameter. 84 | CG_INLINE CGRect CGRectSetEqualCenterToRect(CGRect rect, CGRect sameWithRect) { 85 | rect.origin.x = sameWithRect.origin.x + sameWithRect.size.width / 2 - rect.size.width / 2; 86 | rect.origin.y = sameWithRect.origin.y + sameWithRect.size.height / 2 - rect.size.height / 2; 87 | return rect; 88 | } 89 | 90 | /** 91 | * @brief Calculate a size that fits or fills in the target size. 92 | * 93 | * @param originalSize The size needs to be resized. 94 | * @param inSize The target size for originalSize to fit or fill into. 95 | * @param scaleRule The option for scaling. Passing 0 will not trigger any resizing effect. 96 | * 97 | * @return Returns a new size that fits or fills in the target size. 98 | */ 99 | CGSize CGSizeScaleToSize(CGSize originalSize, CGSize inSize, CGSizeScaleRule scaleRule); 100 | 101 | /** 102 | * @brief Calculate a rect that positions in the target rect. 103 | * 104 | * @discussion e.g. If you apply CGRectScaleAspectFit as scaleRule and CGRectAlignTop as alignRule, the result will satisfy both situations. It will satisfy the CGRectScaleAspectFit by making the rect to fit in the terget rect as first duty, then it will achieve the CGRectAlignTop by placing the resized rect as same top of the target rect. So achieving the alignRule is always under the condition of satisfying the scaleRule. 105 | * 106 | * @code 107 | CGRect newRect = CGRectPositionToRect(originalRect, targetRect, CGRectScaleAspectFit, CGRectAlignTop); 108 | * @endcode 109 | * 110 | * @param originalRect The rect needs to be resized and re-positioned. 111 | * @param inRect The target rect for originalRect to fit or fill into. 112 | * @param scaleRule The option for scaling. Passing 0 will not trigger any resizing effect. 113 | * @param alignRule The options for the alignment. Passing 0 will set CGRectAlignCenter. 114 | * 115 | * @return Returns a rect that positions in the target rect. 116 | */ 117 | CGRect CGRectPositionToRect(CGRect originalRect, CGRect inRect, CGRectScaleRule scaleRule, CGRectAlignRule alignRule); 118 | 119 | /** 120 | * @brief Calculate a rect that positions in the target rect. 121 | * 122 | * @discussion e.g. If you apply (CGRectScaleAspectFit | CGRectAlignTop) as positionOptions, the result will satisfy both situations. It will satisfy the CGRectScaleAspectFit by making the rect to fit in the terget rect as first duty, then it will achieve the CGRectAlignTop by placing the resized rect as same top of the target rect. So achieving the alignRule is always under the condition of satisfying the scaleRule. 123 | * 124 | * @remark The positionOptions can be set a combination of multiple values, like (ScaleAspectFit | AlignTop | AligLeft). However, sometimes not all values can be satisfied, like (ScaleAspectFit | ScaleAspectFill) or (AlignTop | AlignBottom) or (AlignLeft | AlignCenter). When conflict appears, the values will get filtered by priorities. \n 125 | 126 | * The priority of each value from high to low will be marked as follow: 127 | * @code 128 | (ScaleAspectFit > ScaleAspectFill) > (Top > Left > Right > Bottom > Center). 129 | * @endcode 130 | If any low priority value conflicts with high priority value, the lower one is ignored. e.g. For (ScaleAspectFit | ScaleAspectFill) will keep ScaleAspectFit; (AlignLeft | AlignCenter) will keep AlignLeft; (AlignTop | AlignLeft | AlignBottom) will keep (AlignTop | AlignLeft). 131 | * 132 | * The correct way to call the function: 133 | * @code 134 | CGRect resizedFrame = CGRectPositioned(originalFrame, targetFrame, CGRectScaleAspectFit | CGRectAlignTop | CGRectAligLeft) 135 | * @endcode 136 | * 137 | * @param originalRect The rect needs to be resized and re-positioned. 138 | * @param inRect The target rect for originalRect to fit or fill into. 139 | * @param positionOptions The options for the scaling and alignment. Passing 0 will set CGRectAlignCenter. 140 | * 141 | * @return Returns a rect that positions in the target rect. 142 | */ 143 | CGRect CGRectPositioned(CGRect originalRect, CGRect inRect, CGRectPositionOptions positionOptions); 144 | 145 | #endif /* CGGeometry_YJExtension_h */ 146 | -------------------------------------------------------------------------------- /UIImageView_YJ/UIImageView+YJCategory.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImageView+YJCategory.h 3 | // YJKit 4 | // 5 | // Created by huang-kun on 16/3/31. 6 | // Copyright © 2016年 huang-kun. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | typedef NS_OPTIONS(NSUInteger, YJViewContentMode) { 12 | // Alignment 13 | YJViewContentModeCenter = 0 << 0, 14 | YJViewContentModeTop = 1 << 0, 15 | YJViewContentModeLeft = 1 << 1, 16 | YJViewContentModeBottom = 1 << 2, 17 | YJViewContentModeRight = 1 << 3, 18 | // Aspect Scaling 19 | YJViewContentModeScaleAspectFit = 1 << 4, 20 | YJViewContentModeScaleAspectFill = 2 << 4, 21 | }; 22 | 23 | @interface UIImageView (YJCategory) 24 | 25 | /** 26 | * @brief The YJViewContentMode for replacing the default UIViewContentMode. Set yj_contentMode will ignore the contentMode property for image display. 27 | * @discussion The yj_contentMode achieves the possibility of make combination image displaying result which is not provided by UIViewContentMode. e.g. set (ScaleAspectFit | Left) will display image as same as UIViewContentModeScaleAspectFit first, then align the scaled image as same as UIViewContentModeLeft under the first condition. You can get result of both ScaleAspectFit and Left. 28 | * @remark The yj_contentMode can be set a combination of multiple values, like (ScaleAspectFit | Top | Left). However, sometimes not all values can be satisfied, like (ScaleAspectFit | ScaleAspectFill) or (Top | Bottom) or (Left | Center). When conflict appears, the values will get filtered by priorities. \n 29 | 30 | * The priority of each value from high to low will be marked as follow: 31 | * @code 32 | (ScaleAspectFit > ScaleAspectFill) > (Top > Left > Right > Bottom > Center). 33 | * @endcode 34 | If any low priority value conflicts with high priority value, the lower one is ignored. e.g. For (ScaleAspectFit | ScaleAspectFill) will keep ScaleAspectFit; (Left | Center) will keep Left; (Top | Left | Bottom) will keep (Top | Left). 35 | * 36 | */ 37 | @property (nonatomic) YJViewContentMode yj_contentMode; 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /UIImageView_YJ/UIImageView+YJCategory.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIImageView+YJCategory.m 3 | // YJKit 4 | // 5 | // Created by huang-kun on 16/3/31. 6 | // Copyright © 2016年 huang-kun. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "UIImageView+YJCategory.h" 11 | #import "CGGeometry_YJExtension.h" 12 | 13 | @interface UIImageView () 14 | @property (nonatomic) BOOL yj_contentModeEnabled; 15 | @end 16 | 17 | @implementation UIImageView (YJCategory) 18 | 19 | + (void)load { 20 | static dispatch_once_t onceToken; 21 | dispatch_once(&onceToken, ^{ 22 | Class class = [self class]; 23 | SEL fromSelector = @selector(setImage:); 24 | SEL toSelector = @selector(yj_setImage:); 25 | Method fromMethod = class_getInstanceMethod(class, fromSelector); 26 | Method toMethod = class_getInstanceMethod(class, toSelector); 27 | BOOL added = class_addMethod(class, fromSelector, method_getImplementation(toMethod), method_getTypeEncoding(toMethod)); 28 | if (added) class_replaceMethod(class, toSelector, method_getImplementation(fromMethod), method_getTypeEncoding(fromMethod)); 29 | else method_exchangeImplementations(fromMethod, toMethod); 30 | }); 31 | } 32 | 33 | #pragma mark - yj_contentMode 34 | 35 | - (void)setYj_contentModeEnabled:(BOOL)yj_contentModeEnabled { 36 | objc_setAssociatedObject(self, @selector(yj_contentModeEnabled), @(yj_contentModeEnabled), OBJC_ASSOCIATION_RETAIN_NONATOMIC); 37 | } 38 | 39 | - (BOOL)yj_contentModeEnabled { 40 | return [objc_getAssociatedObject(self, _cmd) boolValue]; 41 | } 42 | 43 | - (void)setYj_contentMode:(YJViewContentMode)yj_contentMode { 44 | self.yj_contentModeEnabled = YES; 45 | objc_setAssociatedObject(self, @selector(yj_contentMode), @(yj_contentMode), OBJC_ASSOCIATION_RETAIN_NONATOMIC); 46 | if (self.image) [self yj_redrawImage:self.image]; 47 | } 48 | 49 | - (YJViewContentMode)yj_contentMode { 50 | return [objc_getAssociatedObject(self, _cmd) unsignedIntegerValue]; 51 | } 52 | 53 | #pragma mark - set image 54 | 55 | - (void)yj_setImage:(UIImage *)image { 56 | self.yj_contentModeEnabled ? [self yj_redrawImage:image] : [self yj_setImage:image]; 57 | } 58 | 59 | - (void)yj_redrawImage:(UIImage *)image { 60 | if (!self.yj_contentModeEnabled) return; 61 | CGSize contextSize = self.bounds.size; 62 | CGRect imageRect = (CGRect){ CGPointZero, image.size }; 63 | CGRect targetRect = (CGRect){ CGPointZero, contextSize }; 64 | targetRect = CGRectPositioned(imageRect, targetRect, self.yj_contentMode); 65 | UIGraphicsBeginImageContextWithOptions(contextSize, NO, image.scale); 66 | [image drawInRect:targetRect]; 67 | UIImage *resizedImage = UIGraphicsGetImageFromCurrentImageContext(); 68 | UIGraphicsEndImageContext(); 69 | [self yj_setImage:resizedImage]; 70 | } 71 | 72 | @end 73 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------