├── .gitignore ├── .travis.yml ├── Example ├── Cartfile ├── Cartfile.resolved ├── Podfile ├── Podfile.lock ├── Pods │ ├── Headers │ │ ├── Private │ │ │ └── UIUserNotificationSettings-Extension │ │ │ │ └── UIUserNotificationSettings+Extension.h │ │ └── Public │ │ │ └── UIUserNotificationSettings-Extension │ │ │ └── UIUserNotificationSettings+Extension.h │ ├── Local Podspecs │ │ └── UIUserNotificationSettings-Extension.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ ├── Pods-Tests-UIUserNotificationSettings-Extension.xcscheme │ │ │ ├── Pods-Tests.xcscheme │ │ │ ├── Pods-UIUserNotificationSettings-Extension-UIUserNotificationSettings-Extension.xcscheme │ │ │ ├── Pods-UIUserNotificationSettings-Extension.xcscheme │ │ │ └── UIUserNotificationSettings-Extension.xcscheme │ └── Target Support Files │ │ ├── Pods-Tests │ │ ├── Pods-Tests-acknowledgements.markdown │ │ ├── Pods-Tests-acknowledgements.plist │ │ ├── Pods-Tests-dummy.m │ │ ├── Pods-Tests-resources.sh │ │ ├── Pods-Tests.debug.xcconfig │ │ └── Pods-Tests.release.xcconfig │ │ ├── Pods-UIUserNotificationSettings-Extension │ │ ├── Pods-UIUserNotificationSettings-Extension-acknowledgements.markdown │ │ ├── Pods-UIUserNotificationSettings-Extension-acknowledgements.plist │ │ ├── Pods-UIUserNotificationSettings-Extension-dummy.m │ │ ├── Pods-UIUserNotificationSettings-Extension-resources.sh │ │ ├── Pods-UIUserNotificationSettings-Extension.debug.xcconfig │ │ └── Pods-UIUserNotificationSettings-Extension.release.xcconfig │ │ └── UIUserNotificationSettings-Extension │ │ ├── UIUserNotificationSettings-Extension-Private.xcconfig │ │ ├── UIUserNotificationSettings-Extension-dummy.m │ │ ├── UIUserNotificationSettings-Extension-prefix.pch │ │ └── UIUserNotificationSettings-Extension.xcconfig ├── Tests │ ├── Tests-Info.plist │ ├── Tests-Prefix.pch │ ├── UIUserNotificationSettings+Extension-Tests.m │ └── en.lproj │ │ └── InfoPlist.strings ├── UIUserNotificationSettings-Extension.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── UIUserNotificationSettings-Extension.xcscheme ├── UIUserNotificationSettings-Extension.xcworkspace │ └── contents.xcworkspacedata └── UIUserNotificationSettings-Extension │ ├── ARAppDelegate.h │ ├── ARAppDelegate.m │ ├── Images.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── LaunchImage.launchimage │ │ └── Contents.json │ ├── UIUserNotificationSettings-Extension-Info.plist │ ├── UIUserNotificationSettings-Extension-Prefix.pch │ ├── en.lproj │ └── InfoPlist.strings │ └── main.m ├── LICENSE ├── Pod └── Classes │ ├── .gitkeep │ ├── UIUserNotificationSettings+Extension.h │ └── UIUserNotificationSettings+Extension.m ├── README.md ├── UIUserNotificationSettings-Extension.podspec ├── screenshot_1.jpg ├── screenshot_2.jpg └── screenshot_3.jpg /.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 | *.xcuserstate 22 | 23 | # Bundler 24 | .bundle 25 | 26 | # CocoaPods 27 | # 28 | # We recommend against adding the Pods directory to your .gitignore. However 29 | # you should judge for yourself, the pros and cons are mentioned at: 30 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 31 | # 32 | # Pods/ 33 | 34 | # Carthage 35 | # 36 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 37 | Carthage/Checkouts 38 | 39 | Carthage/Build -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # reference: http://www.objc.io/issue-6/travis-ci.html 2 | 3 | language: objective-c 4 | #before_install: cd Example && pod install && cd - 5 | before_install: 6 | - brew update 7 | - if brew outdated | grep -qx xctool; then brew upgrade xctool; fi 8 | script: 9 | - xctool test -workspace Example/UIUserNotificationSettings-Extension.xcworkspace -scheme UIUserNotificationSettings-Extension -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO 10 | -------------------------------------------------------------------------------- /Example/Cartfile: -------------------------------------------------------------------------------- 1 | # Require version 0.1.0 or later 2 | github "alexruperez/UIUserNotificationSettings-Extension" >= 0.1.0 3 | -------------------------------------------------------------------------------- /Example/Cartfile.resolved: -------------------------------------------------------------------------------- 1 | github "alexruperez/UIUserNotificationSettings-Extension" "0.1.0" 2 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | source 'https://github.com/CocoaPods/Specs.git' 2 | 3 | target 'UIUserNotificationSettings-Extension', :exclusive => true do 4 | pod "UIUserNotificationSettings-Extension", :path => "../" 5 | end 6 | 7 | target 'Tests', :exclusive => true do 8 | pod "UIUserNotificationSettings-Extension", :path => "../" 9 | end 10 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - UIUserNotificationSettings-Extension (0.1.2) 3 | 4 | DEPENDENCIES: 5 | - UIUserNotificationSettings-Extension (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | UIUserNotificationSettings-Extension: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | UIUserNotificationSettings-Extension: b7713638121f67f9924068cf84ebf0f81a78557b 13 | 14 | COCOAPODS: 0.38.2 15 | -------------------------------------------------------------------------------- /Example/Pods/Headers/Private/UIUserNotificationSettings-Extension/UIUserNotificationSettings+Extension.h: -------------------------------------------------------------------------------- 1 | ../../../../../Pod/Classes/UIUserNotificationSettings+Extension.h -------------------------------------------------------------------------------- /Example/Pods/Headers/Public/UIUserNotificationSettings-Extension/UIUserNotificationSettings+Extension.h: -------------------------------------------------------------------------------- 1 | ../../../../../Pod/Classes/UIUserNotificationSettings+Extension.h -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/UIUserNotificationSettings-Extension.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "UIUserNotificationSettings-Extension", 3 | "version": "0.1.2", 4 | "summary": "UIUserNotificationSettings Extension.", 5 | "description": "UIUserNotificationSettings-Extension provides helper methods that will make you much easier to handle #Interactive #Notifications.", 6 | "homepage": "https://github.com/alexruperez/UIUserNotificationSettings-Extension", 7 | "screenshots": [ 8 | "https://raw.githubusercontent.com/alexruperez/UIUserNotificationSettings-Extension/master/screenshot_1.jpg", 9 | "https://raw.githubusercontent.com/alexruperez/UIUserNotificationSettings-Extension/master/screenshot_2.jpg", 10 | "https://raw.githubusercontent.com/alexruperez/UIUserNotificationSettings-Extension/master/screenshot_3.jpg" 11 | ], 12 | "license": "MIT", 13 | "authors": { 14 | "alexruperez": "contact@alexruperez.com" 15 | }, 16 | "source": { 17 | "git": "https://github.com/alexruperez/UIUserNotificationSettings-Extension.git", 18 | "tag": "0.1.2" 19 | }, 20 | "social_media_url": "https://twitter.com/alexruperez", 21 | "platforms": { 22 | "ios": "7.0" 23 | }, 24 | "requires_arc": true, 25 | "source_files": "Pod/Classes", 26 | "frameworks": "UIKit" 27 | } 28 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - UIUserNotificationSettings-Extension (0.1.2) 3 | 4 | DEPENDENCIES: 5 | - UIUserNotificationSettings-Extension (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | UIUserNotificationSettings-Extension: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | UIUserNotificationSettings-Extension: b7713638121f67f9924068cf84ebf0f81a78557b 13 | 14 | COCOAPODS: 0.38.2 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 | 0D02F012EF2E55DBBDF560D758445D5B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B260377BB79E7A60DC46DFA276458C11 /* Foundation.framework */; }; 11 | 1D004DCD520D3F0FBBA4CFC12AB74E10 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 23A10E928BB2A5C1EC2722086F83005C /* UIKit.framework */; }; 12 | 4B621C3EC3CFB6C31E1995FAB520EB6B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B260377BB79E7A60DC46DFA276458C11 /* Foundation.framework */; }; 13 | 81D34170BE8662DF4D1BEC16CBDBE3A7 /* Pods-UIUserNotificationSettings-Extension-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = EE7F72B301D2FAB2A9D87D05CBA0FE69 /* Pods-UIUserNotificationSettings-Extension-dummy.m */; }; 14 | 83CE9A5E4B70C3224E0EBEF0BA54E48A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B260377BB79E7A60DC46DFA276458C11 /* Foundation.framework */; }; 15 | 8B7C7FA8B33470EDF9DCEF06AB8637A0 /* UIUserNotificationSettings+Extension.h in Headers */ = {isa = PBXBuildFile; fileRef = AF824789290830A636D8E76BD40894EE /* UIUserNotificationSettings+Extension.h */; }; 16 | EB4CA9CCFFF2F754E22B5BFD4A0C01C5 /* Pods-Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 741433EC04AB783552455F9131533FB8 /* Pods-Tests-dummy.m */; }; 17 | EE032AAF30DDFBFD5C32C615BFC2783B /* UIUserNotificationSettings+Extension.m in Sources */ = {isa = PBXBuildFile; fileRef = A8F9197026FAE69BE3CCCEA71AF96938 /* UIUserNotificationSettings+Extension.m */; }; 18 | FA2BDE74347243BACA06FF048E90928C /* UIUserNotificationSettings-Extension-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 79A57490C11987AA7CFB66EE990D5A74 /* UIUserNotificationSettings-Extension-dummy.m */; }; 19 | /* End PBXBuildFile section */ 20 | 21 | /* Begin PBXContainerItemProxy section */ 22 | B3C5B9EF3A39990A74D427352EEA372E /* PBXContainerItemProxy */ = { 23 | isa = PBXContainerItemProxy; 24 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 25 | proxyType = 1; 26 | remoteGlobalIDString = 03AB3644AE24C7BC8D7FB83AACEB71FE; 27 | remoteInfo = "UIUserNotificationSettings-Extension"; 28 | }; 29 | D5E56716BC5D5211CBE5F28129E114E3 /* PBXContainerItemProxy */ = { 30 | isa = PBXContainerItemProxy; 31 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 32 | proxyType = 1; 33 | remoteGlobalIDString = 03AB3644AE24C7BC8D7FB83AACEB71FE; 34 | remoteInfo = "UIUserNotificationSettings-Extension"; 35 | }; 36 | /* End PBXContainerItemProxy section */ 37 | 38 | /* Begin PBXFileReference section */ 39 | 014953C1D937DA82932DEE97F41D7355 /* Pods-UIUserNotificationSettings-Extension.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-UIUserNotificationSettings-Extension.debug.xcconfig"; sourceTree = ""; }; 40 | 0457F0A1FD9A6823C07E54B769BBE3F9 /* Pods-UIUserNotificationSettings-Extension-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-UIUserNotificationSettings-Extension-resources.sh"; sourceTree = ""; }; 41 | 0A2BA23C297A45EF5656DC1E90DBAA29 /* libPods-Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 1D9AAB8128CE26D6EF7A65CF04682E3A /* Pods-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Tests.release.xcconfig"; sourceTree = ""; }; 43 | 23A10E928BB2A5C1EC2722086F83005C /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; 44 | 2676BC9FEA15C797A249B1162A5E7EE7 /* Pods-UIUserNotificationSettings-Extension.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-UIUserNotificationSettings-Extension.release.xcconfig"; sourceTree = ""; }; 45 | 4A589CCCDB6EE83A1EC2AF71855DAA66 /* Pods-UIUserNotificationSettings-Extension-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-UIUserNotificationSettings-Extension-acknowledgements.markdown"; sourceTree = ""; }; 46 | 67FF138165E5F690C9844B371504D310 /* UIUserNotificationSettings-Extension-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "UIUserNotificationSettings-Extension-prefix.pch"; sourceTree = ""; }; 47 | 741433EC04AB783552455F9131533FB8 /* Pods-Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Tests-dummy.m"; sourceTree = ""; }; 48 | 79A57490C11987AA7CFB66EE990D5A74 /* UIUserNotificationSettings-Extension-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "UIUserNotificationSettings-Extension-dummy.m"; sourceTree = ""; }; 49 | 81551DBE3112A2AC41C5A10A7441AE0A /* UIUserNotificationSettings-Extension-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "UIUserNotificationSettings-Extension-Private.xcconfig"; sourceTree = ""; }; 50 | 8E5F1593EC19E9C595E7AEFE564E690F /* libUIUserNotificationSettings-Extension.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libUIUserNotificationSettings-Extension.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 51 | 9E43D8484525A0A0FE99C368DE8EE2E7 /* Pods-UIUserNotificationSettings-Extension-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-UIUserNotificationSettings-Extension-acknowledgements.plist"; sourceTree = ""; }; 52 | A2369269254BC6E092D9DCDA558F1A2E /* libPods-UIUserNotificationSettings-Extension.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-UIUserNotificationSettings-Extension.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 53 | A8F9197026FAE69BE3CCCEA71AF96938 /* UIUserNotificationSettings+Extension.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "UIUserNotificationSettings+Extension.m"; sourceTree = ""; }; 54 | AF824789290830A636D8E76BD40894EE /* UIUserNotificationSettings+Extension.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "UIUserNotificationSettings+Extension.h"; sourceTree = ""; }; 55 | B260377BB79E7A60DC46DFA276458C11 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 56 | BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 57 | C10FD72A4DD475A05AC20B1553EA88E6 /* Pods-Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Tests-resources.sh"; sourceTree = ""; }; 58 | C6CD6EDA5633DAE1111F0FA9E6DB7AE9 /* UIUserNotificationSettings-Extension.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "UIUserNotificationSettings-Extension.xcconfig"; sourceTree = ""; }; 59 | DFCE2252CC49DDC6DD2D84DDD99E427C /* Pods-Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Tests.debug.xcconfig"; sourceTree = ""; }; 60 | E106F42061E5964C72F89399DC9D21C8 /* Pods-Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Tests-acknowledgements.plist"; sourceTree = ""; }; 61 | EE5AC399CDC7919F958D249CE4E92DB5 /* Pods-Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Tests-acknowledgements.markdown"; sourceTree = ""; }; 62 | EE7F72B301D2FAB2A9D87D05CBA0FE69 /* Pods-UIUserNotificationSettings-Extension-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-UIUserNotificationSettings-Extension-dummy.m"; sourceTree = ""; }; 63 | /* End PBXFileReference section */ 64 | 65 | /* Begin PBXFrameworksBuildPhase section */ 66 | 5F56BDFCC4D368A92CC262C7886B0266 /* Frameworks */ = { 67 | isa = PBXFrameworksBuildPhase; 68 | buildActionMask = 2147483647; 69 | files = ( 70 | 4B621C3EC3CFB6C31E1995FAB520EB6B /* Foundation.framework in Frameworks */, 71 | ); 72 | runOnlyForDeploymentPostprocessing = 0; 73 | }; 74 | AEF247A863DDFA6FECA5664DB19621E6 /* Frameworks */ = { 75 | isa = PBXFrameworksBuildPhase; 76 | buildActionMask = 2147483647; 77 | files = ( 78 | 83CE9A5E4B70C3224E0EBEF0BA54E48A /* Foundation.framework in Frameworks */, 79 | ); 80 | runOnlyForDeploymentPostprocessing = 0; 81 | }; 82 | E575CF99C75F04268D4E0D144F025D36 /* Frameworks */ = { 83 | isa = PBXFrameworksBuildPhase; 84 | buildActionMask = 2147483647; 85 | files = ( 86 | 0D02F012EF2E55DBBDF560D758445D5B /* Foundation.framework in Frameworks */, 87 | 1D004DCD520D3F0FBBA4CFC12AB74E10 /* UIKit.framework in Frameworks */, 88 | ); 89 | runOnlyForDeploymentPostprocessing = 0; 90 | }; 91 | /* End PBXFrameworksBuildPhase section */ 92 | 93 | /* Begin PBXGroup section */ 94 | 333EBAD12CD9ECF5DDBABD435CD96BC1 /* Pods-UIUserNotificationSettings-Extension */ = { 95 | isa = PBXGroup; 96 | children = ( 97 | 4A589CCCDB6EE83A1EC2AF71855DAA66 /* Pods-UIUserNotificationSettings-Extension-acknowledgements.markdown */, 98 | 9E43D8484525A0A0FE99C368DE8EE2E7 /* Pods-UIUserNotificationSettings-Extension-acknowledgements.plist */, 99 | EE7F72B301D2FAB2A9D87D05CBA0FE69 /* Pods-UIUserNotificationSettings-Extension-dummy.m */, 100 | 0457F0A1FD9A6823C07E54B769BBE3F9 /* Pods-UIUserNotificationSettings-Extension-resources.sh */, 101 | 014953C1D937DA82932DEE97F41D7355 /* Pods-UIUserNotificationSettings-Extension.debug.xcconfig */, 102 | 2676BC9FEA15C797A249B1162A5E7EE7 /* Pods-UIUserNotificationSettings-Extension.release.xcconfig */, 103 | ); 104 | name = "Pods-UIUserNotificationSettings-Extension"; 105 | path = "Target Support Files/Pods-UIUserNotificationSettings-Extension"; 106 | sourceTree = ""; 107 | }; 108 | 372CEF8667D9FFF62D78E60EFCABF66E /* Pods-Tests */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | EE5AC399CDC7919F958D249CE4E92DB5 /* Pods-Tests-acknowledgements.markdown */, 112 | E106F42061E5964C72F89399DC9D21C8 /* Pods-Tests-acknowledgements.plist */, 113 | 741433EC04AB783552455F9131533FB8 /* Pods-Tests-dummy.m */, 114 | C10FD72A4DD475A05AC20B1553EA88E6 /* Pods-Tests-resources.sh */, 115 | DFCE2252CC49DDC6DD2D84DDD99E427C /* Pods-Tests.debug.xcconfig */, 116 | 1D9AAB8128CE26D6EF7A65CF04682E3A /* Pods-Tests.release.xcconfig */, 117 | ); 118 | name = "Pods-Tests"; 119 | path = "Target Support Files/Pods-Tests"; 120 | sourceTree = ""; 121 | }; 122 | 433CD3331B6C3787F473C941B61FC68F /* Frameworks */ = { 123 | isa = PBXGroup; 124 | children = ( 125 | D0FB9306D21AF23A056944AE037CBFFF /* iOS */, 126 | ); 127 | name = Frameworks; 128 | sourceTree = ""; 129 | }; 130 | 460097ECBE26D058A34F3DBA5B48B3D6 /* Support Files */ = { 131 | isa = PBXGroup; 132 | children = ( 133 | C6CD6EDA5633DAE1111F0FA9E6DB7AE9 /* UIUserNotificationSettings-Extension.xcconfig */, 134 | 81551DBE3112A2AC41C5A10A7441AE0A /* UIUserNotificationSettings-Extension-Private.xcconfig */, 135 | 79A57490C11987AA7CFB66EE990D5A74 /* UIUserNotificationSettings-Extension-dummy.m */, 136 | 67FF138165E5F690C9844B371504D310 /* UIUserNotificationSettings-Extension-prefix.pch */, 137 | ); 138 | name = "Support Files"; 139 | path = "Example/Pods/Target Support Files/UIUserNotificationSettings-Extension"; 140 | sourceTree = ""; 141 | }; 142 | 78EF2CA8C9CE6941546C38575A964B4E /* Targets Support Files */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | 372CEF8667D9FFF62D78E60EFCABF66E /* Pods-Tests */, 146 | 333EBAD12CD9ECF5DDBABD435CD96BC1 /* Pods-UIUserNotificationSettings-Extension */, 147 | ); 148 | name = "Targets Support Files"; 149 | sourceTree = ""; 150 | }; 151 | 7DB346D0F39D3F0E887471402A8071AB = { 152 | isa = PBXGroup; 153 | children = ( 154 | BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */, 155 | AF7DE5F60CFE841382D3AC30A5469259 /* Development Pods */, 156 | 433CD3331B6C3787F473C941B61FC68F /* Frameworks */, 157 | CCA510CFBEA2D207524CDA0D73C3B561 /* Products */, 158 | 78EF2CA8C9CE6941546C38575A964B4E /* Targets Support Files */, 159 | ); 160 | sourceTree = ""; 161 | }; 162 | AF7DE5F60CFE841382D3AC30A5469259 /* Development Pods */ = { 163 | isa = PBXGroup; 164 | children = ( 165 | B49E0FBC07A8FD9021A93C711531D5FF /* UIUserNotificationSettings-Extension */, 166 | ); 167 | name = "Development Pods"; 168 | sourceTree = ""; 169 | }; 170 | B49E0FBC07A8FD9021A93C711531D5FF /* UIUserNotificationSettings-Extension */ = { 171 | isa = PBXGroup; 172 | children = ( 173 | E612B396A450C3FADAC6AC6D9E331528 /* Pod */, 174 | 460097ECBE26D058A34F3DBA5B48B3D6 /* Support Files */, 175 | ); 176 | name = "UIUserNotificationSettings-Extension"; 177 | path = ../..; 178 | sourceTree = ""; 179 | }; 180 | C00A0FC737CD7C9D0679D7FC856838C7 /* Classes */ = { 181 | isa = PBXGroup; 182 | children = ( 183 | AF824789290830A636D8E76BD40894EE /* UIUserNotificationSettings+Extension.h */, 184 | A8F9197026FAE69BE3CCCEA71AF96938 /* UIUserNotificationSettings+Extension.m */, 185 | ); 186 | path = Classes; 187 | sourceTree = ""; 188 | }; 189 | CCA510CFBEA2D207524CDA0D73C3B561 /* Products */ = { 190 | isa = PBXGroup; 191 | children = ( 192 | 0A2BA23C297A45EF5656DC1E90DBAA29 /* libPods-Tests.a */, 193 | A2369269254BC6E092D9DCDA558F1A2E /* libPods-UIUserNotificationSettings-Extension.a */, 194 | 8E5F1593EC19E9C595E7AEFE564E690F /* libUIUserNotificationSettings-Extension.a */, 195 | ); 196 | name = Products; 197 | sourceTree = ""; 198 | }; 199 | D0FB9306D21AF23A056944AE037CBFFF /* iOS */ = { 200 | isa = PBXGroup; 201 | children = ( 202 | B260377BB79E7A60DC46DFA276458C11 /* Foundation.framework */, 203 | 23A10E928BB2A5C1EC2722086F83005C /* UIKit.framework */, 204 | ); 205 | name = iOS; 206 | sourceTree = ""; 207 | }; 208 | E612B396A450C3FADAC6AC6D9E331528 /* Pod */ = { 209 | isa = PBXGroup; 210 | children = ( 211 | C00A0FC737CD7C9D0679D7FC856838C7 /* Classes */, 212 | ); 213 | path = Pod; 214 | sourceTree = ""; 215 | }; 216 | /* End PBXGroup section */ 217 | 218 | /* Begin PBXHeadersBuildPhase section */ 219 | 31BD2B616F256D211CDD4C0289EE67C8 /* Headers */ = { 220 | isa = PBXHeadersBuildPhase; 221 | buildActionMask = 2147483647; 222 | files = ( 223 | 8B7C7FA8B33470EDF9DCEF06AB8637A0 /* UIUserNotificationSettings+Extension.h in Headers */, 224 | ); 225 | runOnlyForDeploymentPostprocessing = 0; 226 | }; 227 | /* End PBXHeadersBuildPhase section */ 228 | 229 | /* Begin PBXNativeTarget section */ 230 | 03AB3644AE24C7BC8D7FB83AACEB71FE /* UIUserNotificationSettings-Extension */ = { 231 | isa = PBXNativeTarget; 232 | buildConfigurationList = 659111882C687682FC03C10902DAF3C4 /* Build configuration list for PBXNativeTarget "UIUserNotificationSettings-Extension" */; 233 | buildPhases = ( 234 | C6AFF2A4A80FD6508E500A059C531AC9 /* Sources */, 235 | E575CF99C75F04268D4E0D144F025D36 /* Frameworks */, 236 | 31BD2B616F256D211CDD4C0289EE67C8 /* Headers */, 237 | ); 238 | buildRules = ( 239 | ); 240 | dependencies = ( 241 | ); 242 | name = "UIUserNotificationSettings-Extension"; 243 | productName = "UIUserNotificationSettings-Extension"; 244 | productReference = 8E5F1593EC19E9C595E7AEFE564E690F /* libUIUserNotificationSettings-Extension.a */; 245 | productType = "com.apple.product-type.library.static"; 246 | }; 247 | 4C192EEFE1CE63E2ABEC39AC28E73EE2 /* Pods-Tests */ = { 248 | isa = PBXNativeTarget; 249 | buildConfigurationList = 9E8C824286BF69762DA6D59657D08247 /* Build configuration list for PBXNativeTarget "Pods-Tests" */; 250 | buildPhases = ( 251 | 5DDC278462F59578BC2980FCF443F7B3 /* Sources */, 252 | AEF247A863DDFA6FECA5664DB19621E6 /* Frameworks */, 253 | ); 254 | buildRules = ( 255 | ); 256 | dependencies = ( 257 | 088DBF20F9C35D32D987CCB12704BAEC /* PBXTargetDependency */, 258 | ); 259 | name = "Pods-Tests"; 260 | productName = "Pods-Tests"; 261 | productReference = 0A2BA23C297A45EF5656DC1E90DBAA29 /* libPods-Tests.a */; 262 | productType = "com.apple.product-type.library.static"; 263 | }; 264 | EF8A3EB5A1CF81EC59CAA18C6E18BFAE /* Pods-UIUserNotificationSettings-Extension */ = { 265 | isa = PBXNativeTarget; 266 | buildConfigurationList = B8805FF47F003A2C3145CD5A8E3C0470 /* Build configuration list for PBXNativeTarget "Pods-UIUserNotificationSettings-Extension" */; 267 | buildPhases = ( 268 | 3E030D472D8DF67A6676979837545784 /* Sources */, 269 | 5F56BDFCC4D368A92CC262C7886B0266 /* Frameworks */, 270 | ); 271 | buildRules = ( 272 | ); 273 | dependencies = ( 274 | 2D7A94F26BC7D075C4AF55E72FEC213B /* PBXTargetDependency */, 275 | ); 276 | name = "Pods-UIUserNotificationSettings-Extension"; 277 | productName = "Pods-UIUserNotificationSettings-Extension"; 278 | productReference = A2369269254BC6E092D9DCDA558F1A2E /* libPods-UIUserNotificationSettings-Extension.a */; 279 | productType = "com.apple.product-type.library.static"; 280 | }; 281 | /* End PBXNativeTarget section */ 282 | 283 | /* Begin PBXProject section */ 284 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 285 | isa = PBXProject; 286 | attributes = { 287 | LastSwiftUpdateCheck = 0700; 288 | LastUpgradeCheck = 0700; 289 | }; 290 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 291 | compatibilityVersion = "Xcode 3.2"; 292 | developmentRegion = English; 293 | hasScannedForEncodings = 0; 294 | knownRegions = ( 295 | en, 296 | ); 297 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 298 | productRefGroup = CCA510CFBEA2D207524CDA0D73C3B561 /* Products */; 299 | projectDirPath = ""; 300 | projectRoot = ""; 301 | targets = ( 302 | 4C192EEFE1CE63E2ABEC39AC28E73EE2 /* Pods-Tests */, 303 | EF8A3EB5A1CF81EC59CAA18C6E18BFAE /* Pods-UIUserNotificationSettings-Extension */, 304 | 03AB3644AE24C7BC8D7FB83AACEB71FE /* UIUserNotificationSettings-Extension */, 305 | ); 306 | }; 307 | /* End PBXProject section */ 308 | 309 | /* Begin PBXSourcesBuildPhase section */ 310 | 3E030D472D8DF67A6676979837545784 /* Sources */ = { 311 | isa = PBXSourcesBuildPhase; 312 | buildActionMask = 2147483647; 313 | files = ( 314 | 81D34170BE8662DF4D1BEC16CBDBE3A7 /* Pods-UIUserNotificationSettings-Extension-dummy.m in Sources */, 315 | ); 316 | runOnlyForDeploymentPostprocessing = 0; 317 | }; 318 | 5DDC278462F59578BC2980FCF443F7B3 /* Sources */ = { 319 | isa = PBXSourcesBuildPhase; 320 | buildActionMask = 2147483647; 321 | files = ( 322 | EB4CA9CCFFF2F754E22B5BFD4A0C01C5 /* Pods-Tests-dummy.m in Sources */, 323 | ); 324 | runOnlyForDeploymentPostprocessing = 0; 325 | }; 326 | C6AFF2A4A80FD6508E500A059C531AC9 /* Sources */ = { 327 | isa = PBXSourcesBuildPhase; 328 | buildActionMask = 2147483647; 329 | files = ( 330 | EE032AAF30DDFBFD5C32C615BFC2783B /* UIUserNotificationSettings+Extension.m in Sources */, 331 | FA2BDE74347243BACA06FF048E90928C /* UIUserNotificationSettings-Extension-dummy.m in Sources */, 332 | ); 333 | runOnlyForDeploymentPostprocessing = 0; 334 | }; 335 | /* End PBXSourcesBuildPhase section */ 336 | 337 | /* Begin PBXTargetDependency section */ 338 | 088DBF20F9C35D32D987CCB12704BAEC /* PBXTargetDependency */ = { 339 | isa = PBXTargetDependency; 340 | name = "UIUserNotificationSettings-Extension"; 341 | target = 03AB3644AE24C7BC8D7FB83AACEB71FE /* UIUserNotificationSettings-Extension */; 342 | targetProxy = D5E56716BC5D5211CBE5F28129E114E3 /* PBXContainerItemProxy */; 343 | }; 344 | 2D7A94F26BC7D075C4AF55E72FEC213B /* PBXTargetDependency */ = { 345 | isa = PBXTargetDependency; 346 | name = "UIUserNotificationSettings-Extension"; 347 | target = 03AB3644AE24C7BC8D7FB83AACEB71FE /* UIUserNotificationSettings-Extension */; 348 | targetProxy = B3C5B9EF3A39990A74D427352EEA372E /* PBXContainerItemProxy */; 349 | }; 350 | /* End PBXTargetDependency section */ 351 | 352 | /* Begin XCBuildConfiguration section */ 353 | 121D3FA8FE14D158313DC7AD75AF25ED /* Debug */ = { 354 | isa = XCBuildConfiguration; 355 | baseConfigurationReference = DFCE2252CC49DDC6DD2D84DDD99E427C /* Pods-Tests.debug.xcconfig */; 356 | buildSettings = { 357 | ENABLE_STRICT_OBJC_MSGSEND = YES; 358 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 359 | MTL_ENABLE_DEBUG_INFO = YES; 360 | OTHER_LDFLAGS = ""; 361 | OTHER_LIBTOOLFLAGS = ""; 362 | PODS_ROOT = "$(SRCROOT)"; 363 | PRODUCT_NAME = "$(TARGET_NAME)"; 364 | SDKROOT = iphoneos; 365 | SKIP_INSTALL = YES; 366 | }; 367 | name = Debug; 368 | }; 369 | 13C0ED3D80CD55512897C7CAA303B47D /* Release */ = { 370 | isa = XCBuildConfiguration; 371 | baseConfigurationReference = 81551DBE3112A2AC41C5A10A7441AE0A /* UIUserNotificationSettings-Extension-Private.xcconfig */; 372 | buildSettings = { 373 | ENABLE_STRICT_OBJC_MSGSEND = YES; 374 | GCC_PREFIX_HEADER = "Target Support Files/UIUserNotificationSettings-Extension/UIUserNotificationSettings-Extension-prefix.pch"; 375 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 376 | MTL_ENABLE_DEBUG_INFO = NO; 377 | OTHER_LDFLAGS = ""; 378 | OTHER_LIBTOOLFLAGS = ""; 379 | PRODUCT_NAME = "$(TARGET_NAME)"; 380 | SDKROOT = iphoneos; 381 | SKIP_INSTALL = YES; 382 | }; 383 | name = Release; 384 | }; 385 | 511845FCADAE906C59340B1D7D27DF95 /* Release */ = { 386 | isa = XCBuildConfiguration; 387 | baseConfigurationReference = 2676BC9FEA15C797A249B1162A5E7EE7 /* Pods-UIUserNotificationSettings-Extension.release.xcconfig */; 388 | buildSettings = { 389 | ENABLE_STRICT_OBJC_MSGSEND = YES; 390 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 391 | MTL_ENABLE_DEBUG_INFO = NO; 392 | OTHER_LDFLAGS = ""; 393 | OTHER_LIBTOOLFLAGS = ""; 394 | PODS_ROOT = "$(SRCROOT)"; 395 | PRODUCT_NAME = "$(TARGET_NAME)"; 396 | SDKROOT = iphoneos; 397 | SKIP_INSTALL = YES; 398 | }; 399 | name = Release; 400 | }; 401 | 8FCED84FED6FC366A1BF5A2DA65695BC /* Release */ = { 402 | isa = XCBuildConfiguration; 403 | baseConfigurationReference = 1D9AAB8128CE26D6EF7A65CF04682E3A /* Pods-Tests.release.xcconfig */; 404 | buildSettings = { 405 | ENABLE_STRICT_OBJC_MSGSEND = YES; 406 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 407 | MTL_ENABLE_DEBUG_INFO = NO; 408 | OTHER_LDFLAGS = ""; 409 | OTHER_LIBTOOLFLAGS = ""; 410 | PODS_ROOT = "$(SRCROOT)"; 411 | PRODUCT_NAME = "$(TARGET_NAME)"; 412 | SDKROOT = iphoneos; 413 | SKIP_INSTALL = YES; 414 | }; 415 | name = Release; 416 | }; 417 | A5482760656936DA7D14ED324881F722 /* Debug */ = { 418 | isa = XCBuildConfiguration; 419 | baseConfigurationReference = 014953C1D937DA82932DEE97F41D7355 /* Pods-UIUserNotificationSettings-Extension.debug.xcconfig */; 420 | buildSettings = { 421 | ENABLE_STRICT_OBJC_MSGSEND = YES; 422 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 423 | MTL_ENABLE_DEBUG_INFO = YES; 424 | OTHER_LDFLAGS = ""; 425 | OTHER_LIBTOOLFLAGS = ""; 426 | PODS_ROOT = "$(SRCROOT)"; 427 | PRODUCT_NAME = "$(TARGET_NAME)"; 428 | SDKROOT = iphoneos; 429 | SKIP_INSTALL = YES; 430 | }; 431 | name = Debug; 432 | }; 433 | A70CDAD61F90AC503C7D04CC22DA2923 /* Debug */ = { 434 | isa = XCBuildConfiguration; 435 | buildSettings = { 436 | ALWAYS_SEARCH_USER_PATHS = NO; 437 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 438 | CLANG_CXX_LIBRARY = "libc++"; 439 | CLANG_ENABLE_MODULES = YES; 440 | CLANG_ENABLE_OBJC_ARC = YES; 441 | CLANG_WARN_BOOL_CONVERSION = YES; 442 | CLANG_WARN_CONSTANT_CONVERSION = YES; 443 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 444 | CLANG_WARN_EMPTY_BODY = YES; 445 | CLANG_WARN_ENUM_CONVERSION = YES; 446 | CLANG_WARN_INT_CONVERSION = YES; 447 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 448 | CLANG_WARN_UNREACHABLE_CODE = YES; 449 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 450 | COPY_PHASE_STRIP = NO; 451 | GCC_C_LANGUAGE_STANDARD = gnu99; 452 | GCC_DYNAMIC_NO_PIC = NO; 453 | GCC_OPTIMIZATION_LEVEL = 0; 454 | GCC_PREPROCESSOR_DEFINITIONS = ( 455 | "DEBUG=1", 456 | "$(inherited)", 457 | ); 458 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 459 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 460 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 461 | GCC_WARN_UNDECLARED_SELECTOR = YES; 462 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 463 | GCC_WARN_UNUSED_FUNCTION = YES; 464 | GCC_WARN_UNUSED_VARIABLE = YES; 465 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 466 | ONLY_ACTIVE_ARCH = YES; 467 | STRIP_INSTALLED_PRODUCT = NO; 468 | SYMROOT = "${SRCROOT}/../build"; 469 | }; 470 | name = Debug; 471 | }; 472 | A73885C4802C364D30177E99BAA1EC8F /* Debug */ = { 473 | isa = XCBuildConfiguration; 474 | baseConfigurationReference = 81551DBE3112A2AC41C5A10A7441AE0A /* UIUserNotificationSettings-Extension-Private.xcconfig */; 475 | buildSettings = { 476 | ENABLE_STRICT_OBJC_MSGSEND = YES; 477 | GCC_PREFIX_HEADER = "Target Support Files/UIUserNotificationSettings-Extension/UIUserNotificationSettings-Extension-prefix.pch"; 478 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 479 | MTL_ENABLE_DEBUG_INFO = YES; 480 | OTHER_LDFLAGS = ""; 481 | OTHER_LIBTOOLFLAGS = ""; 482 | PRODUCT_NAME = "$(TARGET_NAME)"; 483 | SDKROOT = iphoneos; 484 | SKIP_INSTALL = YES; 485 | }; 486 | name = Debug; 487 | }; 488 | FB45FFD90572718D82AB9092B750F0CA /* Release */ = { 489 | isa = XCBuildConfiguration; 490 | buildSettings = { 491 | ALWAYS_SEARCH_USER_PATHS = NO; 492 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 493 | CLANG_CXX_LIBRARY = "libc++"; 494 | CLANG_ENABLE_MODULES = YES; 495 | CLANG_ENABLE_OBJC_ARC = YES; 496 | CLANG_WARN_BOOL_CONVERSION = YES; 497 | CLANG_WARN_CONSTANT_CONVERSION = YES; 498 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 499 | CLANG_WARN_EMPTY_BODY = YES; 500 | CLANG_WARN_ENUM_CONVERSION = YES; 501 | CLANG_WARN_INT_CONVERSION = YES; 502 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 503 | CLANG_WARN_UNREACHABLE_CODE = YES; 504 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 505 | COPY_PHASE_STRIP = YES; 506 | ENABLE_NS_ASSERTIONS = NO; 507 | GCC_C_LANGUAGE_STANDARD = gnu99; 508 | GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1"; 509 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 510 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 511 | GCC_WARN_UNDECLARED_SELECTOR = YES; 512 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 513 | GCC_WARN_UNUSED_FUNCTION = YES; 514 | GCC_WARN_UNUSED_VARIABLE = YES; 515 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 516 | STRIP_INSTALLED_PRODUCT = NO; 517 | SYMROOT = "${SRCROOT}/../build"; 518 | VALIDATE_PRODUCT = YES; 519 | }; 520 | name = Release; 521 | }; 522 | /* End XCBuildConfiguration section */ 523 | 524 | /* Begin XCConfigurationList section */ 525 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 526 | isa = XCConfigurationList; 527 | buildConfigurations = ( 528 | A70CDAD61F90AC503C7D04CC22DA2923 /* Debug */, 529 | FB45FFD90572718D82AB9092B750F0CA /* Release */, 530 | ); 531 | defaultConfigurationIsVisible = 0; 532 | defaultConfigurationName = Release; 533 | }; 534 | 659111882C687682FC03C10902DAF3C4 /* Build configuration list for PBXNativeTarget "UIUserNotificationSettings-Extension" */ = { 535 | isa = XCConfigurationList; 536 | buildConfigurations = ( 537 | A73885C4802C364D30177E99BAA1EC8F /* Debug */, 538 | 13C0ED3D80CD55512897C7CAA303B47D /* Release */, 539 | ); 540 | defaultConfigurationIsVisible = 0; 541 | defaultConfigurationName = Release; 542 | }; 543 | 9E8C824286BF69762DA6D59657D08247 /* Build configuration list for PBXNativeTarget "Pods-Tests" */ = { 544 | isa = XCConfigurationList; 545 | buildConfigurations = ( 546 | 121D3FA8FE14D158313DC7AD75AF25ED /* Debug */, 547 | 8FCED84FED6FC366A1BF5A2DA65695BC /* Release */, 548 | ); 549 | defaultConfigurationIsVisible = 0; 550 | defaultConfigurationName = Release; 551 | }; 552 | B8805FF47F003A2C3145CD5A8E3C0470 /* Build configuration list for PBXNativeTarget "Pods-UIUserNotificationSettings-Extension" */ = { 553 | isa = XCConfigurationList; 554 | buildConfigurations = ( 555 | A5482760656936DA7D14ED324881F722 /* Debug */, 556 | 511845FCADAE906C59340B1D7D27DF95 /* Release */, 557 | ); 558 | defaultConfigurationIsVisible = 0; 559 | defaultConfigurationName = Release; 560 | }; 561 | /* End XCConfigurationList section */ 562 | }; 563 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 564 | } 565 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-Tests-UIUserNotificationSettings-Extension.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 60 | 61 | 67 | 68 | 69 | 70 | 72 | 73 | 76 | 77 | 78 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-Tests.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 60 | 61 | 67 | 68 | 69 | 70 | 72 | 73 | 76 | 77 | 78 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-UIUserNotificationSettings-Extension-UIUserNotificationSettings-Extension.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 60 | 61 | 67 | 68 | 69 | 70 | 72 | 73 | 76 | 77 | 78 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-UIUserNotificationSettings-Extension.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 60 | 61 | 67 | 68 | 69 | 70 | 72 | 73 | 76 | 77 | 78 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/UIUserNotificationSettings-Extension.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 47 | 48 | 54 | 55 | 57 | 58 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## UIUserNotificationSettings-Extension 5 | 6 | Copyright (c) 2014 @alexruperez 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-Tests/Pods-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) 2014 @alexruperez <contact@alexruperez.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 | UIUserNotificationSettings-Extension 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-Tests/Pods-Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-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" ]]; 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-Tests/Pods-Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/UIUserNotificationSettings-Extension" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/UIUserNotificationSettings-Extension" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"UIUserNotificationSettings-Extension" -framework "UIKit" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/UIUserNotificationSettings-Extension" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/UIUserNotificationSettings-Extension" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"UIUserNotificationSettings-Extension" -framework "UIKit" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIUserNotificationSettings-Extension/Pods-UIUserNotificationSettings-Extension-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## UIUserNotificationSettings-Extension 5 | 6 | Copyright (c) 2014 @alexruperez 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-UIUserNotificationSettings-Extension/Pods-UIUserNotificationSettings-Extension-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) 2014 @alexruperez <contact@alexruperez.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 | UIUserNotificationSettings-Extension 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-UIUserNotificationSettings-Extension/Pods-UIUserNotificationSettings-Extension-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_UIUserNotificationSettings_Extension : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_UIUserNotificationSettings_Extension 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIUserNotificationSettings-Extension/Pods-UIUserNotificationSettings-Extension-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" ]]; 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-UIUserNotificationSettings-Extension/Pods-UIUserNotificationSettings-Extension.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/UIUserNotificationSettings-Extension" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/UIUserNotificationSettings-Extension" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"UIUserNotificationSettings-Extension" -framework "UIKit" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-UIUserNotificationSettings-Extension/Pods-UIUserNotificationSettings-Extension.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/UIUserNotificationSettings-Extension" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/UIUserNotificationSettings-Extension" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"UIUserNotificationSettings-Extension" -framework "UIKit" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/UIUserNotificationSettings-Extension/UIUserNotificationSettings-Extension-Private.xcconfig: -------------------------------------------------------------------------------- 1 | #include "UIUserNotificationSettings-Extension.xcconfig" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/UIUserNotificationSettings-Extension" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/UIUserNotificationSettings-Extension" 4 | OTHER_LDFLAGS = ${UIUSERNOTIFICATIONSETTINGS_EXTENSION_OTHER_LDFLAGS} 5 | PODS_ROOT = ${SRCROOT} 6 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/UIUserNotificationSettings-Extension/UIUserNotificationSettings-Extension-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_UIUserNotificationSettings_Extension : NSObject 3 | @end 4 | @implementation PodsDummy_UIUserNotificationSettings_Extension 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/UIUserNotificationSettings-Extension/UIUserNotificationSettings-Extension-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/UIUserNotificationSettings-Extension/UIUserNotificationSettings-Extension.xcconfig: -------------------------------------------------------------------------------- 1 | UIUSERNOTIFICATIONSETTINGS_EXTENSION_OTHER_LDFLAGS = -framework "UIKit" -------------------------------------------------------------------------------- /Example/Tests/Tests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier} 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 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every test case source file. 5 | // 6 | 7 | #ifdef __OBJC__ 8 | 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /Example/Tests/UIUserNotificationSettings+Extension-Tests.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIUserNotificationSettings+Extension-Tests.m 3 | // UIUserNotificationSettings+Extension-Tests 4 | // 5 | // Created by Alejandro Rupérez on 11/11/14. 6 | // Copyright (c) 2014 alexruperez. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | #import "UIUserNotificationSettings+Extension.h" 13 | 14 | @interface UIUserNotificationSettings_Extension_Tests : XCTestCase 15 | 16 | 17 | @end 18 | 19 | @implementation UIUserNotificationSettings_Extension_Tests 20 | 21 | - (void)testUserNotificationForegroundAction 22 | { 23 | UIUserNotificationAction *userNotificationForegroundAction = [UIUserNotificationAction foregroundActionWithIdentifier:nil title:nil]; 24 | 25 | XCTAssertNotNil(userNotificationForegroundAction); 26 | XCTAssertTrue(userNotificationForegroundAction.activationMode == UIUserNotificationActivationModeForeground); 27 | XCTAssertNil(userNotificationForegroundAction.identifier); 28 | XCTAssertNil(userNotificationForegroundAction.title); 29 | XCTAssertFalse(userNotificationForegroundAction.destructive); 30 | XCTAssertTrue(userNotificationForegroundAction.authenticationRequired); 31 | } 32 | 33 | - (void)testUserNotificationForegroundDestructiveAction 34 | { 35 | UIUserNotificationAction *userNotificationForegroundDestructiveAction = [UIUserNotificationAction foregroundDestructiveActionWithIdentifier:@"" title:@""]; 36 | 37 | XCTAssertNotNil(userNotificationForegroundDestructiveAction); 38 | XCTAssertTrue(userNotificationForegroundDestructiveAction.activationMode == UIUserNotificationActivationModeForeground); 39 | XCTAssertNotNil(userNotificationForegroundDestructiveAction.identifier); 40 | XCTAssertNotNil(userNotificationForegroundDestructiveAction.title); 41 | XCTAssertTrue(userNotificationForegroundDestructiveAction.destructive); 42 | XCTAssertTrue(userNotificationForegroundDestructiveAction.authenticationRequired); 43 | } 44 | 45 | - (void)testUserNotificationBackgroundAction 46 | { 47 | UIUserNotificationAction *userNotificationBackgroundAction = [UIUserNotificationAction backgroundActionWithIdentifier:nil title:nil authenticationRequired:NO]; 48 | 49 | XCTAssertNotNil(userNotificationBackgroundAction); 50 | XCTAssertTrue(userNotificationBackgroundAction.activationMode == UIUserNotificationActivationModeBackground); 51 | XCTAssertNil(userNotificationBackgroundAction.identifier); 52 | XCTAssertNil(userNotificationBackgroundAction.title); 53 | XCTAssertFalse(userNotificationBackgroundAction.destructive); 54 | XCTAssertFalse(userNotificationBackgroundAction.authenticationRequired); 55 | } 56 | 57 | - (void)testUserNotificationBackgroundDestructiveAction 58 | { 59 | UIUserNotificationAction *userNotificationBackgroundDestructiveAction = [UIUserNotificationAction backgroundDestructiveActionWithIdentifier:@"" title:@"" authenticationRequired:YES]; 60 | 61 | XCTAssertNotNil(userNotificationBackgroundDestructiveAction); 62 | XCTAssertTrue(userNotificationBackgroundDestructiveAction.activationMode == UIUserNotificationActivationModeBackground); 63 | XCTAssertNotNil(userNotificationBackgroundDestructiveAction.identifier); 64 | XCTAssertNotNil(userNotificationBackgroundDestructiveAction.title); 65 | XCTAssertTrue(userNotificationBackgroundDestructiveAction.destructive); 66 | XCTAssertTrue(userNotificationBackgroundDestructiveAction.authenticationRequired); 67 | } 68 | 69 | - (void)testUserNotificationCategoryWithEmptyActions 70 | { 71 | UIUserNotificationCategory *userNotificationCategory = [UIUserNotificationCategory categoryWithIdentifier:nil defaultActions:@[] minimalActions:@[]]; 72 | 73 | XCTAssertNotNil(userNotificationCategory); 74 | XCTAssertNil(userNotificationCategory.identifier); 75 | XCTAssertTrue([userNotificationCategory actionsForContext:UIUserNotificationActionContextDefault].count == 0); 76 | XCTAssertTrue([userNotificationCategory actionsForContext:UIUserNotificationActionContextMinimal].count == 0); 77 | } 78 | 79 | - (void)testUserNotificationCategoryWithDefaultActions 80 | { 81 | UIUserNotificationCategory *userNotificationCategory = [UIUserNotificationCategory categoryWithIdentifier:nil defaultActions:@[[UIUserNotificationAction foregroundActionWithIdentifier:nil title:nil]] minimalActions:nil]; 82 | 83 | XCTAssertNotNil(userNotificationCategory); 84 | XCTAssertNil(userNotificationCategory.identifier); 85 | XCTAssertNotNil([userNotificationCategory actionsForContext:UIUserNotificationActionContextDefault]); 86 | XCTAssertFalse([userNotificationCategory actionsForContext:UIUserNotificationActionContextDefault].count == 0); 87 | XCTAssertTrue([userNotificationCategory actionsForContext:UIUserNotificationActionContextMinimal].count == 0); 88 | } 89 | 90 | - (void)testUserNotificationCategoryWithMinimalActions 91 | { 92 | UIUserNotificationCategory *userNotificationCategory = [UIUserNotificationCategory categoryWithIdentifier:nil defaultActions:nil minimalActions:@[[UIUserNotificationAction foregroundActionWithIdentifier:nil title:nil]]]; 93 | 94 | XCTAssertNotNil(userNotificationCategory); 95 | XCTAssertNil(userNotificationCategory.identifier); 96 | XCTAssertTrue([userNotificationCategory actionsForContext:UIUserNotificationActionContextDefault].count == 0); 97 | XCTAssertNotNil([userNotificationCategory actionsForContext:UIUserNotificationActionContextMinimal]); 98 | XCTAssertFalse([userNotificationCategory actionsForContext:UIUserNotificationActionContextMinimal].count == 0); 99 | } 100 | 101 | - (void)testUserNotificationCategoryWithBothActions 102 | { 103 | UIUserNotificationCategory *userNotificationCategory = [UIUserNotificationCategory categoryWithIdentifier:@"" defaultActions:@[[UIUserNotificationAction foregroundActionWithIdentifier:nil title:nil]] minimalActions:@[[UIUserNotificationAction foregroundActionWithIdentifier:nil title:nil]]]; 104 | 105 | XCTAssertNotNil(userNotificationCategory); 106 | XCTAssertNotNil(userNotificationCategory.identifier); 107 | XCTAssertNotNil([userNotificationCategory actionsForContext:UIUserNotificationActionContextDefault]); 108 | XCTAssertFalse([userNotificationCategory actionsForContext:UIUserNotificationActionContextDefault].count == 0); 109 | XCTAssertNotNil([userNotificationCategory actionsForContext:UIUserNotificationActionContextMinimal]); 110 | XCTAssertFalse([userNotificationCategory actionsForContext:UIUserNotificationActionContextMinimal].count == 0); 111 | } 112 | 113 | - (void)testUserNotificationSettingsWithCategoriesArray 114 | { 115 | UIUserNotificationSettings *userNotificationSettings = [UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeAll categoriesArray:@[[UIUserNotificationCategory categoryWithIdentifier:nil defaultActions:nil minimalActions:nil]]]; 116 | 117 | XCTAssertNotNil(userNotificationSettings); 118 | XCTAssertNotNil(userNotificationSettings.categories); 119 | XCTAssertFalse(userNotificationSettings.categories.count == 0); 120 | } 121 | 122 | - (void)testUserNotificationSettingsWithCategoriesEmptyArray 123 | { 124 | UIUserNotificationSettings *userNotificationSettings = [UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeAll categoriesArray:@[]]; 125 | 126 | XCTAssertNotNil(userNotificationSettings); 127 | XCTAssertTrue(userNotificationSettings.categories.count == 0); 128 | } 129 | 130 | - (void)testUserNotificationSettingsWithCategoriesNilArray 131 | { 132 | UIUserNotificationSettings *userNotificationSettings = [UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeAll categoriesArray:nil]; 133 | 134 | XCTAssertNotNil(userNotificationSettings); 135 | XCTAssertTrue(userNotificationSettings.categories.count == 0); 136 | } 137 | 138 | @end 139 | -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/UIUserNotificationSettings-Extension.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 388997391809B9AEF86CAA52 /* libPods-Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 51EEA5C1696FB00C631DB58B /* libPods-Tests.a */; }; 11 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 12 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 13 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 14 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; 15 | 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; 16 | 6003F59E195388D20070C39A /* ARAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* ARAppDelegate.m */; }; 17 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; 18 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 19 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 20 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; 21 | D57E0FEE1A121B690017C3CF /* UIUserNotificationSettings+Extension-Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = D57E0FED1A121B690017C3CF /* UIUserNotificationSettings+Extension-Tests.m */; }; 22 | D57E0FF71A1259130017C3CF /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D57E0FF61A1259130017C3CF /* Images.xcassets */; }; 23 | E801AF07E97C15AC2E093C3A /* libPods-UIUserNotificationSettings-Extension.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7E68031888997E13EB638EC2 /* libPods-UIUserNotificationSettings-Extension.a */; }; 24 | /* End PBXBuildFile section */ 25 | 26 | /* Begin PBXContainerItemProxy section */ 27 | 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { 28 | isa = PBXContainerItemProxy; 29 | containerPortal = 6003F582195388D10070C39A /* Project object */; 30 | proxyType = 1; 31 | remoteGlobalIDString = 6003F589195388D20070C39A; 32 | remoteInfo = "UIUserNotificationSettings-Extension"; 33 | }; 34 | /* End PBXContainerItemProxy section */ 35 | 36 | /* Begin PBXFileReference section */ 37 | 13F1737E9C817F4072EB37F3 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 38 | 4CFFCBA99DAC80102BB519C2 /* Pods-UIUserNotificationSettings-Extension.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-UIUserNotificationSettings-Extension.debug.xcconfig"; path = "Pods/Target Support Files/Pods-UIUserNotificationSettings-Extension/Pods-UIUserNotificationSettings-Extension.debug.xcconfig"; sourceTree = ""; }; 39 | 51EEA5C1696FB00C631DB58B /* libPods-Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 40 | 6003F58A195388D20070C39A /* UIUserNotificationSettings-Extension.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "UIUserNotificationSettings-Extension.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 42 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 43 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 44 | 6003F595195388D20070C39A /* UIUserNotificationSettings-Extension-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "UIUserNotificationSettings-Extension-Info.plist"; sourceTree = ""; }; 45 | 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 46 | 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 47 | 6003F59B195388D20070C39A /* UIUserNotificationSettings-Extension-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UIUserNotificationSettings-Extension-Prefix.pch"; sourceTree = ""; }; 48 | 6003F59C195388D20070C39A /* ARAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ARAppDelegate.h; sourceTree = ""; }; 49 | 6003F59D195388D20070C39A /* ARAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ARAppDelegate.m; sourceTree = ""; }; 50 | 6003F5AE195388D20070C39A /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 51 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 52 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; 53 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 54 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 55 | 7E68031888997E13EB638EC2 /* libPods-UIUserNotificationSettings-Extension.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-UIUserNotificationSettings-Extension.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 56 | 8EB35182CC590FFFDCAF92E5 /* Pods-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-Tests/Pods-Tests.release.xcconfig"; sourceTree = ""; }; 57 | 9DA0FBBCB7D477F37ADC6F15 /* Pods-UIUserNotificationSettings-Extension.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-UIUserNotificationSettings-Extension.release.xcconfig"; path = "Pods/Target Support Files/Pods-UIUserNotificationSettings-Extension/Pods-UIUserNotificationSettings-Extension.release.xcconfig"; sourceTree = ""; }; 58 | CCFCAD2E968AAADB2D04819A /* UIUserNotificationSettings-Extension.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = "UIUserNotificationSettings-Extension.podspec"; path = "../UIUserNotificationSettings-Extension.podspec"; sourceTree = ""; }; 59 | D57E0FED1A121B690017C3CF /* UIUserNotificationSettings+Extension-Tests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIUserNotificationSettings+Extension-Tests.m"; sourceTree = ""; }; 60 | D57E0FF61A1259130017C3CF /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 61 | D58484641A0CD5A20072D8EE /* UIUserNotificationSettings+Extension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIUserNotificationSettings+Extension.h"; sourceTree = ""; }; 62 | D58484651A0CD5A20072D8EE /* UIUserNotificationSettings+Extension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIUserNotificationSettings+Extension.m"; sourceTree = ""; }; 63 | DEF0B8D7AE713A5F3B524466 /* Pods-Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Tests/Pods-Tests.debug.xcconfig"; sourceTree = ""; }; 64 | FF4C6D0CE1C64C0D18B92401 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 65 | /* End PBXFileReference section */ 66 | 67 | /* Begin PBXFrameworksBuildPhase section */ 68 | 6003F587195388D20070C39A /* Frameworks */ = { 69 | isa = PBXFrameworksBuildPhase; 70 | buildActionMask = 2147483647; 71 | files = ( 72 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 73 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 74 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, 75 | E801AF07E97C15AC2E093C3A /* libPods-UIUserNotificationSettings-Extension.a in Frameworks */, 76 | ); 77 | runOnlyForDeploymentPostprocessing = 0; 78 | }; 79 | 6003F5AB195388D20070C39A /* Frameworks */ = { 80 | isa = PBXFrameworksBuildPhase; 81 | buildActionMask = 2147483647; 82 | files = ( 83 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 84 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 85 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, 86 | 388997391809B9AEF86CAA52 /* libPods-Tests.a in Frameworks */, 87 | ); 88 | runOnlyForDeploymentPostprocessing = 0; 89 | }; 90 | /* End PBXFrameworksBuildPhase section */ 91 | 92 | /* Begin PBXGroup section */ 93 | 6003F581195388D10070C39A = { 94 | isa = PBXGroup; 95 | children = ( 96 | D584845D1A0CD5840072D8EE /* Pod */, 97 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, 98 | 6003F593195388D20070C39A /* UIUserNotificationSettings-Extension */, 99 | 6003F5B5195388D20070C39A /* Tests */, 100 | 6003F58C195388D20070C39A /* Frameworks */, 101 | 6003F58B195388D20070C39A /* Products */, 102 | 87E84E6FF56C5D9660036E84 /* Pods */, 103 | ); 104 | sourceTree = ""; 105 | }; 106 | 6003F58B195388D20070C39A /* Products */ = { 107 | isa = PBXGroup; 108 | children = ( 109 | 6003F58A195388D20070C39A /* UIUserNotificationSettings-Extension.app */, 110 | 6003F5AE195388D20070C39A /* Tests.xctest */, 111 | ); 112 | name = Products; 113 | sourceTree = ""; 114 | }; 115 | 6003F58C195388D20070C39A /* Frameworks */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | 6003F58D195388D20070C39A /* Foundation.framework */, 119 | 6003F58F195388D20070C39A /* CoreGraphics.framework */, 120 | 6003F591195388D20070C39A /* UIKit.framework */, 121 | 6003F5AF195388D20070C39A /* XCTest.framework */, 122 | 51EEA5C1696FB00C631DB58B /* libPods-Tests.a */, 123 | 7E68031888997E13EB638EC2 /* libPods-UIUserNotificationSettings-Extension.a */, 124 | ); 125 | name = Frameworks; 126 | sourceTree = ""; 127 | }; 128 | 6003F593195388D20070C39A /* UIUserNotificationSettings-Extension */ = { 129 | isa = PBXGroup; 130 | children = ( 131 | 6003F59C195388D20070C39A /* ARAppDelegate.h */, 132 | 6003F59D195388D20070C39A /* ARAppDelegate.m */, 133 | D57E0FF61A1259130017C3CF /* Images.xcassets */, 134 | 6003F594195388D20070C39A /* Supporting Files */, 135 | ); 136 | path = "UIUserNotificationSettings-Extension"; 137 | sourceTree = ""; 138 | }; 139 | 6003F594195388D20070C39A /* Supporting Files */ = { 140 | isa = PBXGroup; 141 | children = ( 142 | 6003F595195388D20070C39A /* UIUserNotificationSettings-Extension-Info.plist */, 143 | 6003F596195388D20070C39A /* InfoPlist.strings */, 144 | 6003F599195388D20070C39A /* main.m */, 145 | 6003F59B195388D20070C39A /* UIUserNotificationSettings-Extension-Prefix.pch */, 146 | ); 147 | name = "Supporting Files"; 148 | sourceTree = ""; 149 | }; 150 | 6003F5B5195388D20070C39A /* Tests */ = { 151 | isa = PBXGroup; 152 | children = ( 153 | D57E0FED1A121B690017C3CF /* UIUserNotificationSettings+Extension-Tests.m */, 154 | 6003F5B6195388D20070C39A /* Supporting Files */, 155 | ); 156 | path = Tests; 157 | sourceTree = ""; 158 | }; 159 | 6003F5B6195388D20070C39A /* Supporting Files */ = { 160 | isa = PBXGroup; 161 | children = ( 162 | 6003F5B7195388D20070C39A /* Tests-Info.plist */, 163 | 6003F5B8195388D20070C39A /* InfoPlist.strings */, 164 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, 165 | ); 166 | name = "Supporting Files"; 167 | sourceTree = ""; 168 | }; 169 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { 170 | isa = PBXGroup; 171 | children = ( 172 | CCFCAD2E968AAADB2D04819A /* UIUserNotificationSettings-Extension.podspec */, 173 | 13F1737E9C817F4072EB37F3 /* README.md */, 174 | FF4C6D0CE1C64C0D18B92401 /* LICENSE */, 175 | ); 176 | name = "Podspec Metadata"; 177 | sourceTree = ""; 178 | }; 179 | 87E84E6FF56C5D9660036E84 /* Pods */ = { 180 | isa = PBXGroup; 181 | children = ( 182 | DEF0B8D7AE713A5F3B524466 /* Pods-Tests.debug.xcconfig */, 183 | 8EB35182CC590FFFDCAF92E5 /* Pods-Tests.release.xcconfig */, 184 | 4CFFCBA99DAC80102BB519C2 /* Pods-UIUserNotificationSettings-Extension.debug.xcconfig */, 185 | 9DA0FBBCB7D477F37ADC6F15 /* Pods-UIUserNotificationSettings-Extension.release.xcconfig */, 186 | ); 187 | name = Pods; 188 | sourceTree = ""; 189 | }; 190 | D584845D1A0CD5840072D8EE /* Pod */ = { 191 | isa = PBXGroup; 192 | children = ( 193 | D584845E1A0CD5840072D8EE /* Assets */, 194 | D58484601A0CD5840072D8EE /* Classes */, 195 | ); 196 | name = Pod; 197 | path = ../Pod; 198 | sourceTree = ""; 199 | }; 200 | D584845E1A0CD5840072D8EE /* Assets */ = { 201 | isa = PBXGroup; 202 | children = ( 203 | ); 204 | path = Assets; 205 | sourceTree = ""; 206 | }; 207 | D58484601A0CD5840072D8EE /* Classes */ = { 208 | isa = PBXGroup; 209 | children = ( 210 | D58484641A0CD5A20072D8EE /* UIUserNotificationSettings+Extension.h */, 211 | D58484651A0CD5A20072D8EE /* UIUserNotificationSettings+Extension.m */, 212 | ); 213 | path = Classes; 214 | sourceTree = ""; 215 | }; 216 | /* End PBXGroup section */ 217 | 218 | /* Begin PBXNativeTarget section */ 219 | 6003F589195388D20070C39A /* UIUserNotificationSettings-Extension */ = { 220 | isa = PBXNativeTarget; 221 | buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "UIUserNotificationSettings-Extension" */; 222 | buildPhases = ( 223 | 478EABBD8F714F115065D3D3 /* Check Pods Manifest.lock */, 224 | 6003F586195388D20070C39A /* Sources */, 225 | 6003F587195388D20070C39A /* Frameworks */, 226 | 6003F588195388D20070C39A /* Resources */, 227 | 887B1DB59E6125EF60842991 /* Copy Pods Resources */, 228 | ); 229 | buildRules = ( 230 | ); 231 | dependencies = ( 232 | ); 233 | name = "UIUserNotificationSettings-Extension"; 234 | productName = "UIUserNotificationSettings-Extension"; 235 | productReference = 6003F58A195388D20070C39A /* UIUserNotificationSettings-Extension.app */; 236 | productType = "com.apple.product-type.application"; 237 | }; 238 | 6003F5AD195388D20070C39A /* Tests */ = { 239 | isa = PBXNativeTarget; 240 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "Tests" */; 241 | buildPhases = ( 242 | 5A5B57AA12E791C98094501C /* Check Pods Manifest.lock */, 243 | 6003F5AA195388D20070C39A /* Sources */, 244 | 6003F5AB195388D20070C39A /* Frameworks */, 245 | 6003F5AC195388D20070C39A /* Resources */, 246 | 09345DF77F320245A14A0A80 /* Copy Pods Resources */, 247 | ); 248 | buildRules = ( 249 | ); 250 | dependencies = ( 251 | 6003F5B4195388D20070C39A /* PBXTargetDependency */, 252 | ); 253 | name = Tests; 254 | productName = "UIUserNotificationSettings-ExtensionTests"; 255 | productReference = 6003F5AE195388D20070C39A /* Tests.xctest */; 256 | productType = "com.apple.product-type.bundle.unit-test"; 257 | }; 258 | /* End PBXNativeTarget section */ 259 | 260 | /* Begin PBXProject section */ 261 | 6003F582195388D10070C39A /* Project object */ = { 262 | isa = PBXProject; 263 | attributes = { 264 | CLASSPREFIX = AR; 265 | LastUpgradeCheck = 0510; 266 | ORGANIZATIONNAME = alexruperez; 267 | TargetAttributes = { 268 | 6003F5AD195388D20070C39A = { 269 | TestTargetID = 6003F589195388D20070C39A; 270 | }; 271 | }; 272 | }; 273 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "UIUserNotificationSettings-Extension" */; 274 | compatibilityVersion = "Xcode 3.2"; 275 | developmentRegion = English; 276 | hasScannedForEncodings = 0; 277 | knownRegions = ( 278 | en, 279 | Base, 280 | ); 281 | mainGroup = 6003F581195388D10070C39A; 282 | productRefGroup = 6003F58B195388D20070C39A /* Products */; 283 | projectDirPath = ""; 284 | projectRoot = ""; 285 | targets = ( 286 | 6003F589195388D20070C39A /* UIUserNotificationSettings-Extension */, 287 | 6003F5AD195388D20070C39A /* Tests */, 288 | ); 289 | }; 290 | /* End PBXProject section */ 291 | 292 | /* Begin PBXResourcesBuildPhase section */ 293 | 6003F588195388D20070C39A /* Resources */ = { 294 | isa = PBXResourcesBuildPhase; 295 | buildActionMask = 2147483647; 296 | files = ( 297 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, 298 | D57E0FF71A1259130017C3CF /* Images.xcassets in Resources */, 299 | ); 300 | runOnlyForDeploymentPostprocessing = 0; 301 | }; 302 | 6003F5AC195388D20070C39A /* Resources */ = { 303 | isa = PBXResourcesBuildPhase; 304 | buildActionMask = 2147483647; 305 | files = ( 306 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, 307 | ); 308 | runOnlyForDeploymentPostprocessing = 0; 309 | }; 310 | /* End PBXResourcesBuildPhase section */ 311 | 312 | /* Begin PBXShellScriptBuildPhase section */ 313 | 09345DF77F320245A14A0A80 /* Copy Pods Resources */ = { 314 | isa = PBXShellScriptBuildPhase; 315 | buildActionMask = 2147483647; 316 | files = ( 317 | ); 318 | inputPaths = ( 319 | ); 320 | name = "Copy Pods Resources"; 321 | outputPaths = ( 322 | ); 323 | runOnlyForDeploymentPostprocessing = 0; 324 | shellPath = /bin/sh; 325 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Tests/Pods-Tests-resources.sh\"\n"; 326 | showEnvVarsInLog = 0; 327 | }; 328 | 478EABBD8F714F115065D3D3 /* Check Pods Manifest.lock */ = { 329 | isa = PBXShellScriptBuildPhase; 330 | buildActionMask = 2147483647; 331 | files = ( 332 | ); 333 | inputPaths = ( 334 | ); 335 | name = "Check Pods Manifest.lock"; 336 | outputPaths = ( 337 | ); 338 | runOnlyForDeploymentPostprocessing = 0; 339 | shellPath = /bin/sh; 340 | 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"; 341 | showEnvVarsInLog = 0; 342 | }; 343 | 5A5B57AA12E791C98094501C /* Check Pods Manifest.lock */ = { 344 | isa = PBXShellScriptBuildPhase; 345 | buildActionMask = 2147483647; 346 | files = ( 347 | ); 348 | inputPaths = ( 349 | ); 350 | name = "Check Pods Manifest.lock"; 351 | outputPaths = ( 352 | ); 353 | runOnlyForDeploymentPostprocessing = 0; 354 | shellPath = /bin/sh; 355 | 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"; 356 | showEnvVarsInLog = 0; 357 | }; 358 | 887B1DB59E6125EF60842991 /* Copy Pods Resources */ = { 359 | isa = PBXShellScriptBuildPhase; 360 | buildActionMask = 2147483647; 361 | files = ( 362 | ); 363 | inputPaths = ( 364 | ); 365 | name = "Copy Pods Resources"; 366 | outputPaths = ( 367 | ); 368 | runOnlyForDeploymentPostprocessing = 0; 369 | shellPath = /bin/sh; 370 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-UIUserNotificationSettings-Extension/Pods-UIUserNotificationSettings-Extension-resources.sh\"\n"; 371 | showEnvVarsInLog = 0; 372 | }; 373 | /* End PBXShellScriptBuildPhase section */ 374 | 375 | /* Begin PBXSourcesBuildPhase section */ 376 | 6003F586195388D20070C39A /* Sources */ = { 377 | isa = PBXSourcesBuildPhase; 378 | buildActionMask = 2147483647; 379 | files = ( 380 | 6003F59E195388D20070C39A /* ARAppDelegate.m in Sources */, 381 | 6003F59A195388D20070C39A /* main.m in Sources */, 382 | ); 383 | runOnlyForDeploymentPostprocessing = 0; 384 | }; 385 | 6003F5AA195388D20070C39A /* Sources */ = { 386 | isa = PBXSourcesBuildPhase; 387 | buildActionMask = 2147483647; 388 | files = ( 389 | D57E0FEE1A121B690017C3CF /* UIUserNotificationSettings+Extension-Tests.m in Sources */, 390 | ); 391 | runOnlyForDeploymentPostprocessing = 0; 392 | }; 393 | /* End PBXSourcesBuildPhase section */ 394 | 395 | /* Begin PBXTargetDependency section */ 396 | 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { 397 | isa = PBXTargetDependency; 398 | target = 6003F589195388D20070C39A /* UIUserNotificationSettings-Extension */; 399 | targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; 400 | }; 401 | /* End PBXTargetDependency section */ 402 | 403 | /* Begin PBXVariantGroup section */ 404 | 6003F596195388D20070C39A /* InfoPlist.strings */ = { 405 | isa = PBXVariantGroup; 406 | children = ( 407 | 6003F597195388D20070C39A /* en */, 408 | ); 409 | name = InfoPlist.strings; 410 | sourceTree = ""; 411 | }; 412 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { 413 | isa = PBXVariantGroup; 414 | children = ( 415 | 6003F5B9195388D20070C39A /* en */, 416 | ); 417 | name = InfoPlist.strings; 418 | sourceTree = ""; 419 | }; 420 | /* End PBXVariantGroup section */ 421 | 422 | /* Begin XCBuildConfiguration section */ 423 | 6003F5BD195388D20070C39A /* Debug */ = { 424 | isa = XCBuildConfiguration; 425 | buildSettings = { 426 | ALWAYS_SEARCH_USER_PATHS = NO; 427 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 428 | CLANG_CXX_LIBRARY = "libc++"; 429 | CLANG_ENABLE_MODULES = YES; 430 | CLANG_ENABLE_OBJC_ARC = YES; 431 | CLANG_WARN_BOOL_CONVERSION = YES; 432 | CLANG_WARN_CONSTANT_CONVERSION = YES; 433 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 434 | CLANG_WARN_EMPTY_BODY = YES; 435 | CLANG_WARN_ENUM_CONVERSION = YES; 436 | CLANG_WARN_INT_CONVERSION = YES; 437 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 438 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 439 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 440 | COPY_PHASE_STRIP = NO; 441 | GCC_C_LANGUAGE_STANDARD = gnu99; 442 | GCC_DYNAMIC_NO_PIC = NO; 443 | GCC_OPTIMIZATION_LEVEL = 0; 444 | GCC_PREPROCESSOR_DEFINITIONS = ( 445 | "DEBUG=1", 446 | "$(inherited)", 447 | ); 448 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 449 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 450 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 451 | GCC_WARN_UNDECLARED_SELECTOR = YES; 452 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 453 | GCC_WARN_UNUSED_FUNCTION = YES; 454 | GCC_WARN_UNUSED_VARIABLE = YES; 455 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 456 | ONLY_ACTIVE_ARCH = YES; 457 | SDKROOT = iphoneos; 458 | TARGETED_DEVICE_FAMILY = "1,2"; 459 | }; 460 | name = Debug; 461 | }; 462 | 6003F5BE195388D20070C39A /* Release */ = { 463 | isa = XCBuildConfiguration; 464 | buildSettings = { 465 | ALWAYS_SEARCH_USER_PATHS = NO; 466 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 467 | CLANG_CXX_LIBRARY = "libc++"; 468 | CLANG_ENABLE_MODULES = YES; 469 | CLANG_ENABLE_OBJC_ARC = YES; 470 | CLANG_WARN_BOOL_CONVERSION = YES; 471 | CLANG_WARN_CONSTANT_CONVERSION = YES; 472 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 473 | CLANG_WARN_EMPTY_BODY = YES; 474 | CLANG_WARN_ENUM_CONVERSION = YES; 475 | CLANG_WARN_INT_CONVERSION = YES; 476 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 477 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 478 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 479 | COPY_PHASE_STRIP = YES; 480 | ENABLE_NS_ASSERTIONS = NO; 481 | GCC_C_LANGUAGE_STANDARD = gnu99; 482 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 483 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 484 | GCC_WARN_UNDECLARED_SELECTOR = YES; 485 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 486 | GCC_WARN_UNUSED_FUNCTION = YES; 487 | GCC_WARN_UNUSED_VARIABLE = YES; 488 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 489 | SDKROOT = iphoneos; 490 | TARGETED_DEVICE_FAMILY = "1,2"; 491 | VALIDATE_PRODUCT = YES; 492 | }; 493 | name = Release; 494 | }; 495 | 6003F5C0195388D20070C39A /* Debug */ = { 496 | isa = XCBuildConfiguration; 497 | baseConfigurationReference = 4CFFCBA99DAC80102BB519C2 /* Pods-UIUserNotificationSettings-Extension.debug.xcconfig */; 498 | buildSettings = { 499 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 500 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 501 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 502 | GCC_PREFIX_HEADER = "UIUserNotificationSettings-Extension/UIUserNotificationSettings-Extension-Prefix.pch"; 503 | INFOPLIST_FILE = "UIUserNotificationSettings-Extension/UIUserNotificationSettings-Extension-Info.plist"; 504 | PRODUCT_NAME = "$(TARGET_NAME)"; 505 | WRAPPER_EXTENSION = app; 506 | }; 507 | name = Debug; 508 | }; 509 | 6003F5C1195388D20070C39A /* Release */ = { 510 | isa = XCBuildConfiguration; 511 | baseConfigurationReference = 9DA0FBBCB7D477F37ADC6F15 /* Pods-UIUserNotificationSettings-Extension.release.xcconfig */; 512 | buildSettings = { 513 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 514 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 515 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 516 | GCC_PREFIX_HEADER = "UIUserNotificationSettings-Extension/UIUserNotificationSettings-Extension-Prefix.pch"; 517 | INFOPLIST_FILE = "UIUserNotificationSettings-Extension/UIUserNotificationSettings-Extension-Info.plist"; 518 | PRODUCT_NAME = "$(TARGET_NAME)"; 519 | WRAPPER_EXTENSION = app; 520 | }; 521 | name = Release; 522 | }; 523 | 6003F5C3195388D20070C39A /* Debug */ = { 524 | isa = XCBuildConfiguration; 525 | baseConfigurationReference = DEF0B8D7AE713A5F3B524466 /* Pods-Tests.debug.xcconfig */; 526 | buildSettings = { 527 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/UIUserNotificationSettings-Extension.app/UIUserNotificationSettings-Extension"; 528 | FRAMEWORK_SEARCH_PATHS = ( 529 | "$(SDKROOT)/Developer/Library/Frameworks", 530 | "$(inherited)", 531 | "$(DEVELOPER_FRAMEWORKS_DIR)", 532 | ); 533 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 534 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 535 | GCC_PREPROCESSOR_DEFINITIONS = ( 536 | "DEBUG=1", 537 | "$(inherited)", 538 | ); 539 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 540 | PRODUCT_NAME = "$(TARGET_NAME)"; 541 | TEST_HOST = "$(BUNDLE_LOADER)"; 542 | WRAPPER_EXTENSION = xctest; 543 | }; 544 | name = Debug; 545 | }; 546 | 6003F5C4195388D20070C39A /* Release */ = { 547 | isa = XCBuildConfiguration; 548 | baseConfigurationReference = 8EB35182CC590FFFDCAF92E5 /* Pods-Tests.release.xcconfig */; 549 | buildSettings = { 550 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/UIUserNotificationSettings-Extension.app/UIUserNotificationSettings-Extension"; 551 | FRAMEWORK_SEARCH_PATHS = ( 552 | "$(SDKROOT)/Developer/Library/Frameworks", 553 | "$(inherited)", 554 | "$(DEVELOPER_FRAMEWORKS_DIR)", 555 | ); 556 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 557 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 558 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 559 | PRODUCT_NAME = "$(TARGET_NAME)"; 560 | TEST_HOST = "$(BUNDLE_LOADER)"; 561 | WRAPPER_EXTENSION = xctest; 562 | }; 563 | name = Release; 564 | }; 565 | /* End XCBuildConfiguration section */ 566 | 567 | /* Begin XCConfigurationList section */ 568 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "UIUserNotificationSettings-Extension" */ = { 569 | isa = XCConfigurationList; 570 | buildConfigurations = ( 571 | 6003F5BD195388D20070C39A /* Debug */, 572 | 6003F5BE195388D20070C39A /* Release */, 573 | ); 574 | defaultConfigurationIsVisible = 0; 575 | defaultConfigurationName = Release; 576 | }; 577 | 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "UIUserNotificationSettings-Extension" */ = { 578 | isa = XCConfigurationList; 579 | buildConfigurations = ( 580 | 6003F5C0195388D20070C39A /* Debug */, 581 | 6003F5C1195388D20070C39A /* Release */, 582 | ); 583 | defaultConfigurationIsVisible = 0; 584 | defaultConfigurationName = Release; 585 | }; 586 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "Tests" */ = { 587 | isa = XCConfigurationList; 588 | buildConfigurations = ( 589 | 6003F5C3195388D20070C39A /* Debug */, 590 | 6003F5C4195388D20070C39A /* Release */, 591 | ); 592 | defaultConfigurationIsVisible = 0; 593 | defaultConfigurationName = Release; 594 | }; 595 | /* End XCConfigurationList section */ 596 | }; 597 | rootObject = 6003F582195388D10070C39A /* Project object */; 598 | } 599 | -------------------------------------------------------------------------------- /Example/UIUserNotificationSettings-Extension.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/UIUserNotificationSettings-Extension.xcodeproj/xcshareddata/xcschemes/UIUserNotificationSettings-Extension.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 75 | 76 | 82 | 83 | 84 | 85 | 86 | 87 | 93 | 94 | 100 | 101 | 102 | 103 | 105 | 106 | 109 | 110 | 111 | -------------------------------------------------------------------------------- /Example/UIUserNotificationSettings-Extension.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/UIUserNotificationSettings-Extension/ARAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // ARAppDelegate.h 3 | // UIUserNotificationSettings-Extension 4 | // 5 | // Created by Alejandro Rupérez on 11/07/2014. 6 | // Copyright (c) 2014 alexruperez. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ARAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example/UIUserNotificationSettings-Extension/ARAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // ARAppDelegate.m 3 | // UIUserNotificationSettings-Extension 4 | // 5 | // Created by Alejandro Rupérez on 11/07/2014. 6 | // Copyright (c) 2014 alexruperez. All rights reserved. 7 | // 8 | 9 | #import "ARAppDelegate.h" 10 | 11 | #import 12 | 13 | @implementation ARAppDelegate 14 | 15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 16 | { 17 | self.window = [UIWindow.alloc initWithFrame:UIScreen.mainScreen.bounds]; 18 | self.window.rootViewController = UIViewController.new; 19 | 20 | UILabel *label = [UILabel.alloc initWithFrame:CGRectMake(20.0f, 64.0f, self.window.bounds.size.width - 40.0f, self.window.bounds.size.height - 84.0f)]; 21 | label.text = @"Send me to background to launch a local notification...\n\nTo see the \"default\" notification actions, select the \"alert style\" on your app notifications settings.\n\nEnjoy! 😃"; 22 | label.textColor = UIColor.whiteColor; 23 | label.textAlignment = NSTextAlignmentCenter; 24 | label.numberOfLines = 0; 25 | [self.window.rootViewController.view addSubview:label]; 26 | 27 | UIUserNotificationAction *openAction = [UIUserNotificationAction foregroundActionWithIdentifier:@"open_action" title:@"Open with alert 😉"]; 28 | UIUserNotificationAction *deleteAction = [UIUserNotificationAction backgroundDestructiveActionWithIdentifier:@"delete_action" title:@"Delete 😱" authenticationRequired:YES]; 29 | UIUserNotificationAction *okAction = [UIUserNotificationAction backgroundActionWithIdentifier:@"ok_action" title:@"Ok 👍" authenticationRequired:NO textInput:YES]; 30 | 31 | UIUserNotificationCategory *userNotificationCategory = [UIUserNotificationCategory categoryWithIdentifier:@"default_category" defaultActions:@[openAction, deleteAction, okAction] minimalActions:@[okAction, deleteAction]]; 32 | 33 | UIUserNotificationSettings *userNotificationSettings = [UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeAll categoriesArray:@[userNotificationCategory]]; 34 | 35 | [application registerUserNotificationSettings:userNotificationSettings]; 36 | 37 | [self.window makeKeyAndVisible]; 38 | 39 | return YES; 40 | } 41 | 42 | - (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings 43 | { 44 | NSLog(@"didRegisterUserNotificationSettings: %@", notificationSettings); 45 | } 46 | 47 | - (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification 48 | { 49 | NSLog(@"didReceiveLocalNotification: %@", notification); 50 | } 51 | 52 | - (void)application:(UIApplication *)application handleActionWithIdentifier:(NSString *)identifier forLocalNotification:(UILocalNotification *)notification completionHandler:(void (^)())completionHandler 53 | { 54 | [self application:application handleActionWithIdentifier:identifier forLocalNotification:notification withResponseInfo:@{} completionHandler:completionHandler]; 55 | } 56 | 57 | - (void)application:(UIApplication *)application handleActionWithIdentifier:(NSString *)identifier forLocalNotification:(UILocalNotification *)notification withResponseInfo:(NSDictionary *)responseInfo completionHandler:(void(^)())completionHandler 58 | { 59 | NSLog(@"handleActionWithIdentifier: %@ withResponseInfo: %@", identifier, responseInfo); 60 | 61 | if ([identifier isEqualToString:@"open_action"]) 62 | { 63 | [[[UIAlertView alloc] initWithTitle:@"Opened!" message:@"This action only open the app... 😀" delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil] show]; 64 | } 65 | 66 | if (completionHandler) 67 | { 68 | completionHandler(); 69 | } 70 | } 71 | 72 | - (void)applicationWillResignActive:(UIApplication *)application 73 | { 74 | // 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. 75 | // 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. 76 | } 77 | 78 | - (void)applicationDidEnterBackground:(UIApplication *)application 79 | { 80 | UILocalNotification *localNotification = UILocalNotification.new; 81 | 82 | localNotification.fireDate = [NSDate dateWithTimeIntervalSinceNow:1]; 83 | localNotification.alertBody = @"You've closed me?!? 😡"; 84 | localNotification.alertAction = @"Open 😉"; 85 | localNotification.category = @"default_category"; 86 | 87 | [application scheduleLocalNotification:localNotification]; 88 | } 89 | 90 | - (void)applicationWillEnterForeground:(UIApplication *)application 91 | { 92 | // 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. 93 | } 94 | 95 | - (void)applicationDidBecomeActive:(UIApplication *)application 96 | { 97 | // 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. 98 | } 99 | 100 | - (void)applicationWillTerminate:(UIApplication *)application 101 | { 102 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 103 | } 104 | 105 | @end 106 | -------------------------------------------------------------------------------- /Example/UIUserNotificationSettings-Extension/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" : "iphone", 20 | "size" : "60x60", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "ipad", 25 | "size" : "29x29", 26 | "scale" : "1x" 27 | }, 28 | { 29 | "idiom" : "ipad", 30 | "size" : "29x29", 31 | "scale" : "2x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "40x40", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "40x40", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "76x76", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "76x76", 51 | "scale" : "2x" 52 | } 53 | ], 54 | "info" : { 55 | "version" : 1, 56 | "author" : "xcode" 57 | } 58 | } -------------------------------------------------------------------------------- /Example/UIUserNotificationSettings-Extension/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "ipad", 6 | "minimum-system-version" : "7.0", 7 | "extent" : "full-screen", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "landscape", 12 | "idiom" : "ipad", 13 | "minimum-system-version" : "7.0", 14 | "extent" : "full-screen", 15 | "scale" : "1x" 16 | }, 17 | { 18 | "orientation" : "landscape", 19 | "idiom" : "ipad", 20 | "minimum-system-version" : "7.0", 21 | "extent" : "full-screen", 22 | "scale" : "2x" 23 | }, 24 | { 25 | "orientation" : "portrait", 26 | "idiom" : "iphone", 27 | "minimum-system-version" : "7.0", 28 | "scale" : "2x" 29 | }, 30 | { 31 | "orientation" : "portrait", 32 | "idiom" : "iphone", 33 | "minimum-system-version" : "7.0", 34 | "subtype" : "retina4", 35 | "scale" : "2x" 36 | }, 37 | { 38 | "orientation" : "portrait", 39 | "idiom" : "ipad", 40 | "minimum-system-version" : "7.0", 41 | "extent" : "full-screen", 42 | "scale" : "1x" 43 | } 44 | ], 45 | "info" : { 46 | "version" : 1, 47 | "author" : "xcode" 48 | } 49 | } -------------------------------------------------------------------------------- /Example/UIUserNotificationSettings-Extension/UIUserNotificationSettings-Extension-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | Notifications 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | com.alexruperez.$(PRODUCT_NAME:rfc1034identifier) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UISupportedInterfaceOrientations~ipad 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationPortraitUpsideDown 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /Example/UIUserNotificationSettings-Extension/UIUserNotificationSettings-Extension-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 15 | #import 16 | #endif 17 | -------------------------------------------------------------------------------- /Example/UIUserNotificationSettings-Extension/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/UIUserNotificationSettings-Extension/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // UIUserNotificationSettings-Extension 4 | // 5 | // Created by Alejandro Rupérez on 11/07/2014. 6 | // Copyright (c) 2014 alexruperez. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "ARAppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([ARAppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014 @alexruperez 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 | -------------------------------------------------------------------------------- /Pod/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexruperez/UIUserNotificationSettings-Extension/8f8003d431ef9120f03d10c5cedddfc76463dca4/Pod/Classes/.gitkeep -------------------------------------------------------------------------------- /Pod/Classes/UIUserNotificationSettings+Extension.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIUserNotificationSettings+Extension.h 3 | // UIUserNotificationSettings-Extension 4 | // 5 | // Created by Alejandro Rupérez on 7/11/14. 6 | // Copyright (c) 2014 alexruperez. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #ifndef UIUserNotificationTypeAll 12 | #define UIUserNotificationTypeAll (UIUserNotificationTypeAlert | UIUserNotificationTypeBadge | UIUserNotificationTypeSound) 13 | #endif 14 | 15 | @interface UIUserNotificationSettings (Extension) 16 | 17 | + (instancetype)settingsForTypes:(UIUserNotificationType)types categoriesArray:(NSArray *)categories; 18 | 19 | @end 20 | 21 | @interface UIUserNotificationCategory (Extension) 22 | 23 | + (instancetype)categoryWithIdentifier:(NSString *)identifier defaultActions:(NSArray *)defaultActions; 24 | 25 | + (instancetype)categoryWithIdentifier:(NSString *)identifier minimalActions:(NSArray *)minimalActions; 26 | 27 | + (instancetype)categoryWithIdentifier:(NSString *)identifier defaultActions:(NSArray *)defaultActions minimalActions:(NSArray *)minimalActions; 28 | 29 | @end 30 | 31 | @interface UIUserNotificationAction (Extension) 32 | 33 | + (instancetype)foregroundActionWithIdentifier:(NSString *)identifier title:(NSString *)title; 34 | 35 | + (instancetype)foregroundActionWithIdentifier:(NSString *)identifier title:(NSString *)title textInput:(BOOL)textInput; 36 | 37 | + (instancetype)foregroundDestructiveActionWithIdentifier:(NSString *)identifier title:(NSString *)title; 38 | 39 | + (instancetype)foregroundDestructiveActionWithIdentifier:(NSString *)identifier title:(NSString *)title textInput:(BOOL)textInput; 40 | 41 | + (instancetype)backgroundActionWithIdentifier:(NSString *)identifier title:(NSString *)title authenticationRequired:(BOOL)authenticationRequired; 42 | 43 | + (instancetype)backgroundActionWithIdentifier:(NSString *)identifier title:(NSString *)title authenticationRequired:(BOOL)authenticationRequired textInput:(BOOL)textInput; 44 | 45 | + (instancetype)backgroundDestructiveActionWithIdentifier:(NSString *)identifier title:(NSString *)title authenticationRequired:(BOOL)authenticationRequired; 46 | 47 | + (instancetype)backgroundDestructiveActionWithIdentifier:(NSString *)identifier title:(NSString *)title authenticationRequired:(BOOL)authenticationRequired textInput:(BOOL)textInput; 48 | 49 | + (instancetype)actionWithIdentifier:(NSString *)identifier title:(NSString *)title activationMode:(UIUserNotificationActivationMode)activationMode authenticationRequired:(BOOL)authenticationRequired destructive:(BOOL)destructive; 50 | 51 | + (instancetype)actionWithIdentifier:(NSString *)identifier title:(NSString *)title activationMode:(UIUserNotificationActivationMode)activationMode authenticationRequired:(BOOL)authenticationRequired destructive:(BOOL)destructive textInput:(BOOL)textInput; 52 | 53 | @end 54 | -------------------------------------------------------------------------------- /Pod/Classes/UIUserNotificationSettings+Extension.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIUserNotificationSettings+Extension.m 3 | // UIUserNotificationSettings-Extension 4 | // 5 | // Created by Alejandro Rupérez on 7/11/14. 6 | // Copyright (c) 2014 alexruperez. All rights reserved. 7 | // 8 | 9 | #import "UIUserNotificationSettings+Extension.h" 10 | 11 | @implementation UIUserNotificationSettings (Extension) 12 | 13 | + (instancetype)settingsForTypes:(UIUserNotificationType)types categoriesArray:(NSArray *)categories 14 | { 15 | return [self settingsForTypes:types categories:[NSSet setWithArray:categories]]; 16 | } 17 | 18 | @end 19 | 20 | @implementation UIUserNotificationCategory (Extension) 21 | 22 | + (instancetype)categoryWithIdentifier:(NSString *)identifier defaultActions:(NSArray *)defaultActions 23 | { 24 | return [self categoryWithIdentifier:identifier defaultActions:defaultActions minimalActions:nil]; 25 | } 26 | 27 | + (instancetype)categoryWithIdentifier:(NSString *)identifier minimalActions:(NSArray *)minimalActions 28 | { 29 | return [self categoryWithIdentifier:identifier defaultActions:nil minimalActions:minimalActions]; 30 | } 31 | 32 | + (instancetype)categoryWithIdentifier:(NSString *)identifier defaultActions:(NSArray *)defaultActions minimalActions:(NSArray *)minimalActions 33 | { 34 | UIMutableUserNotificationCategory *instance = UIMutableUserNotificationCategory.new; 35 | 36 | instance.identifier = identifier; 37 | [instance setActions:defaultActions forContext:UIUserNotificationActionContextDefault]; 38 | [instance setActions:minimalActions forContext:UIUserNotificationActionContextMinimal]; 39 | 40 | return instance.copy; 41 | } 42 | 43 | @end 44 | 45 | @implementation UIUserNotificationAction (Extension) 46 | 47 | + (instancetype)foregroundActionWithIdentifier:(NSString *)identifier title:(NSString *)title 48 | { 49 | return [self foregroundActionWithIdentifier:identifier title:title textInput:NO]; 50 | } 51 | 52 | + (instancetype)foregroundActionWithIdentifier:(NSString *)identifier title:(NSString *)title textInput:(BOOL)textInput 53 | { 54 | return [self actionWithIdentifier:identifier title:title activationMode:UIUserNotificationActivationModeForeground authenticationRequired:YES destructive:NO textInput:textInput]; 55 | } 56 | 57 | + (instancetype)foregroundDestructiveActionWithIdentifier:(NSString *)identifier title:(NSString *)title 58 | { 59 | return [self foregroundDestructiveActionWithIdentifier:identifier title:title textInput:NO]; 60 | } 61 | 62 | + (instancetype)foregroundDestructiveActionWithIdentifier:(NSString *)identifier title:(NSString *)title textInput:(BOOL)textInput 63 | { 64 | return [self actionWithIdentifier:identifier title:title activationMode:UIUserNotificationActivationModeForeground authenticationRequired:YES destructive:YES textInput:textInput]; 65 | } 66 | 67 | + (instancetype)backgroundActionWithIdentifier:(NSString *)identifier title:(NSString *)title authenticationRequired:(BOOL)authenticationRequired 68 | { 69 | return [self backgroundDestructiveActionWithIdentifier:identifier title:title authenticationRequired:authenticationRequired textInput:NO]; 70 | } 71 | 72 | + (instancetype)backgroundActionWithIdentifier:(NSString *)identifier title:(NSString *)title authenticationRequired:(BOOL)authenticationRequired textInput:(BOOL)textInput 73 | { 74 | return [self actionWithIdentifier:identifier title:title activationMode:UIUserNotificationActivationModeBackground authenticationRequired:authenticationRequired destructive:NO textInput:textInput]; 75 | } 76 | 77 | + (instancetype)backgroundDestructiveActionWithIdentifier:(NSString *)identifier title:(NSString *)title authenticationRequired:(BOOL)authenticationRequired 78 | { 79 | return [self backgroundDestructiveActionWithIdentifier:identifier title:title authenticationRequired:authenticationRequired textInput:NO]; 80 | } 81 | 82 | + (instancetype)backgroundDestructiveActionWithIdentifier:(NSString *)identifier title:(NSString *)title authenticationRequired:(BOOL)authenticationRequired textInput:(BOOL)textInput 83 | { 84 | return [self actionWithIdentifier:identifier title:title activationMode:UIUserNotificationActivationModeBackground authenticationRequired:authenticationRequired destructive:YES textInput:textInput]; 85 | } 86 | 87 | + (instancetype)actionWithIdentifier:(NSString *)identifier title:(NSString *)title activationMode:(UIUserNotificationActivationMode)activationMode authenticationRequired:(BOOL)authenticationRequired destructive:(BOOL)destructive 88 | { 89 | return [self actionWithIdentifier:identifier title:title activationMode:activationMode authenticationRequired:authenticationRequired destructive:destructive textInput:NO]; 90 | } 91 | 92 | + (instancetype)actionWithIdentifier:(NSString *)identifier title:(NSString *)title activationMode:(UIUserNotificationActivationMode)activationMode authenticationRequired:(BOOL)authenticationRequired destructive:(BOOL)destructive textInput:(BOOL)textInput 93 | { 94 | UIMutableUserNotificationAction *instance = UIMutableUserNotificationAction.new; 95 | 96 | instance.identifier = identifier; 97 | instance.title = title; 98 | instance.activationMode = activationMode; 99 | instance.authenticationRequired = authenticationRequired; 100 | instance.destructive = destructive; 101 | if ([instance respondsToSelector:NSSelectorFromString(@"behavior")]) 102 | { 103 | [instance setValue:@(textInput) forKey:@"behavior"]; 104 | } 105 | 106 | return instance.copy; 107 | } 108 | 109 | @end 110 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # UIUserNotificationSettings-Extension 2 | 3 | [![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/alexruperez/UIUserNotificationSettings-Extension?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) 4 | [![Twitter](http://img.shields.io/badge/contact-@alexruperez-blue.svg?style=flat)](http://twitter.com/alexruperez) 5 | [![GitHub Issues](http://img.shields.io/github/issues/alexruperez/UIUserNotificationSettings-Extension.svg?style=flat)](http://github.com/alexruperez/UIUserNotificationSettings-Extension/issues) 6 | [![Version](https://img.shields.io/cocoapods/v/UIUserNotificationSettings-Extension.svg?style=flat)](http://cocoadocs.org/docsets/UIUserNotificationSettings-Extension) 7 | [![License](https://img.shields.io/cocoapods/l/UIUserNotificationSettings-Extension.svg?style=flat)](http://cocoadocs.org/docsets/UIUserNotificationSettings-Extension) 8 | [![Platform](https://img.shields.io/cocoapods/p/UIUserNotificationSettings-Extension.svg?style=flat)](http://cocoadocs.org/docsets/UIUserNotificationSettings-Extension) 9 | [![Dependency Status](https://www.versioneye.com/user/projects/555b0391634daa30fb0001e8/badge.svg?style=flat)](https://www.versioneye.com/user/projects/555b0391634daa30fb0001e8) 10 | [![Analytics](https://ga-beacon.appspot.com/UA-55329295-1/UIUserNotificationSettings-Extension/readme?pixel)](https://github.com/igrigorik/ga-beacon) 11 | 12 | ## Overview 13 | 14 | UIUserNotificationSettings-Extension provides helper methods that will make you much easier to handle #Interactive #Notifications. 15 | 16 | ![UIUserNotificationSettings-Extension Screenshot 1](https://raw.githubusercontent.com/alexruperez/UIUserNotificationSettings-Extension/master/screenshot_1.jpg) 17 | ![UIUserNotificationSettings-Extension Screenshot 2](https://raw.githubusercontent.com/alexruperez/UIUserNotificationSettings-Extension/master/screenshot_2.jpg) 18 | ![UIUserNotificationSettings-Extension Screenshot 3](https://raw.githubusercontent.com/alexruperez/UIUserNotificationSettings-Extension/master/screenshot_3.jpg) 19 | 20 | ## Usage 21 | 22 | ### Installation 23 | 24 | UIUserNotificationSettings-Extension is available through [CocoaPods](http://cocoapods.org). To install 25 | it, simply add the following line to your Podfile: 26 | 27 | pod "UIUserNotificationSettings-Extension" 28 | 29 | #### Or you can add the following files to your project: 30 | * `UIUserNotificationSettings+Extension.m` 31 | * `UIUserNotificationSettings+Extension.h` 32 | 33 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 34 | 35 | ### Example 36 | 37 | ```objectivec 38 | UIUserNotificationAction *openAction = [UIUserNotificationAction foregroundActionWithIdentifier:@"open_action" title:@"Open with alert 😉"]; 39 | UIUserNotificationAction *deleteAction = [UIUserNotificationAction backgroundDestructiveActionWithIdentifier:@"delete_action" title:@"Delete 😱" authenticationRequired:YES]; 40 | UIUserNotificationAction *okAction = [UIUserNotificationAction backgroundActionWithIdentifier:@"ok_action" title:@"Ok 👍" authenticationRequired:NO textInput:YES]; 41 | 42 | UIUserNotificationCategory *userNotificationCategory = [UIUserNotificationCategory categoryWithIdentifier:@"default_category" defaultActions:@[openAction, deleteAction, okAction] minimalActions:@[okAction, deleteAction]]; 43 | 44 | UIUserNotificationSettings *userNotificationSettings = [UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeAll categoriesArray:@[userNotificationCategory]]; 45 | 46 | [[UIApplication sharedApplication] registerUserNotificationSettings:userNotificationSettings]; 47 | ``` 48 | 49 | # Etc. 50 | 51 | * Contributions are very welcome. 52 | * Attribution is appreciated (let's spread the word!), but not mandatory. 53 | 54 | ## Use it? Love/hate it? 55 | 56 | Tweet the author [@alexruperez](http://twitter.com/alexruperez), and check out alexruperez's blog: http://alexruperez.com 57 | 58 | ## License 59 | 60 | UIUserNotificationSettings-Extension is available under the MIT license. See the LICENSE file for more info. 61 | -------------------------------------------------------------------------------- /UIUserNotificationSettings-Extension.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = "UIUserNotificationSettings-Extension" 3 | s.version = "0.1.2" 4 | s.summary = "UIUserNotificationSettings Extension." 5 | s.description = <<-DESC 6 | UIUserNotificationSettings-Extension provides helper methods that will make you much easier to handle #Interactive #Notifications. 7 | DESC 8 | s.homepage = "https://github.com/alexruperez/UIUserNotificationSettings-Extension" 9 | s.screenshots = "https://raw.githubusercontent.com/alexruperez/UIUserNotificationSettings-Extension/master/screenshot_1.jpg", "https://raw.githubusercontent.com/alexruperez/UIUserNotificationSettings-Extension/master/screenshot_2.jpg", "https://raw.githubusercontent.com/alexruperez/UIUserNotificationSettings-Extension/master/screenshot_3.jpg" 10 | s.license = 'MIT' 11 | s.author = { "alexruperez" => "contact@alexruperez.com" } 12 | s.source = { :git => "https://github.com/alexruperez/UIUserNotificationSettings-Extension.git", :tag => s.version.to_s } 13 | s.social_media_url = 'https://twitter.com/alexruperez' 14 | 15 | s.platform = :ios, '7.0' 16 | s.requires_arc = true 17 | 18 | s.source_files = 'Pod/Classes' 19 | 20 | s.frameworks = 'UIKit' 21 | end 22 | -------------------------------------------------------------------------------- /screenshot_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexruperez/UIUserNotificationSettings-Extension/8f8003d431ef9120f03d10c5cedddfc76463dca4/screenshot_1.jpg -------------------------------------------------------------------------------- /screenshot_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexruperez/UIUserNotificationSettings-Extension/8f8003d431ef9120f03d10c5cedddfc76463dca4/screenshot_2.jpg -------------------------------------------------------------------------------- /screenshot_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexruperez/UIUserNotificationSettings-Extension/8f8003d431ef9120f03d10c5cedddfc76463dca4/screenshot_3.jpg --------------------------------------------------------------------------------