├── .gitignore ├── .travis.yml ├── Example ├── Example.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── MCActivityButton-Example.xcscheme ├── MCActivityButton.xcworkspace │ └── contents.xcworkspacedata ├── MCActivityButton │ ├── Base.lproj │ │ ├── Main_iPad.storyboard │ │ └── Main_iPhone.storyboard │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── LaunchImage.launchimage │ │ │ └── Contents.json │ ├── MCActivityButton-Info.plist │ ├── MCActivityButton-Prefix.pch │ ├── MCActivityButtonAppDelegate.h │ ├── MCActivityButtonAppDelegate.m │ ├── MCActivityButtonViewController.h │ ├── MCActivityButtonViewController.m │ ├── en.lproj │ │ └── InfoPlist.strings │ └── main.m ├── Podfile ├── Podfile.lock ├── Pods │ ├── Headers │ │ ├── Private │ │ │ └── MCActivityButton │ │ │ │ └── MCActivityButton.h │ │ └── Public │ │ │ └── MCActivityButton │ │ │ └── MCActivityButton.h │ ├── Local Podspecs │ │ └── MCActivityButton.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── Pods-MCActivityButton │ │ ├── Pods-MCActivityButton-acknowledgements.markdown │ │ ├── Pods-MCActivityButton-acknowledgements.plist │ │ ├── Pods-MCActivityButton-dummy.m │ │ ├── Pods-MCActivityButton-resources.sh │ │ ├── Pods-MCActivityButton.debug.xcconfig │ │ └── Pods-MCActivityButton.release.xcconfig │ │ └── 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 └── Tests │ ├── Tests-Info.plist │ ├── Tests-Prefix.pch │ ├── Tests.m │ └── en.lproj │ └── InfoPlist.strings ├── LICENSE ├── MCActivityButton.podspec ├── Pod ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── MCActivityButton.h │ └── MCActivityButton.m ├── README.md └── Screenshots ├── demo.gif ├── screenshot0.png └── screenshot1.png /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | # We recommend against adding the Pods directory to your .gitignore. However 26 | # you should judge for yourself, the pros and cons are mentioned at: 27 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 28 | # 29 | # Note: if you ignore the Pods directory, make sure to uncomment 30 | # `pod install` in .travis.yml 31 | # 32 | # Pods/ 33 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: objective-c 2 | 3 | before_install: 4 | - export LANG=en_US.UTF-8 5 | - gem install cocoapods 6 | - brew update 7 | - if brew outdated | grep -qx xctool; then brew upgrade xctool; fi 8 | 9 | script: 10 | - xctool clean build test -workspace Example/MCActivityButton.xcworkspace -scheme MCActivityButton-Example -sdk iphonesimulator8.1 ONLY_ACTIVE_ARCH=NO 11 | - pod lib lint --quick 12 | -------------------------------------------------------------------------------- /Example/Example.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 54; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 11 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 12 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 13 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; 14 | 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; 15 | 6003F59E195388D20070C39A /* MCActivityButtonAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* MCActivityButtonAppDelegate.m */; }; 16 | 6003F5A1195388D20070C39A /* Main_iPhone.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6003F59F195388D20070C39A /* Main_iPhone.storyboard */; }; 17 | 6003F5A4195388D20070C39A /* Main_iPad.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A2195388D20070C39A /* Main_iPad.storyboard */; }; 18 | 6003F5A7195388D20070C39A /* MCActivityButtonViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* MCActivityButtonViewController.m */; }; 19 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; 20 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; 21 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 22 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 23 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; 24 | 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; 25 | 87E385CF2A56773662DAC14A /* libPods-MCActivityButton.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B53E631BF25E11DBAB4A24E9 /* libPods-MCActivityButton.a */; }; 26 | BB1D7CDE1018BF581190681D /* libPods-Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E8D2C65B04123E66870007DE /* libPods-Tests.a */; }; 27 | /* End PBXBuildFile section */ 28 | 29 | /* Begin PBXContainerItemProxy section */ 30 | 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = 6003F582195388D10070C39A /* Project object */; 33 | proxyType = 1; 34 | remoteGlobalIDString = 6003F589195388D20070C39A; 35 | remoteInfo = MCActivityButton; 36 | }; 37 | /* End PBXContainerItemProxy section */ 38 | 39 | /* Begin PBXFileReference section */ 40 | 08BC36C065FA77E9C2B6A573 /* Pods-Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tests.debug.xcconfig"; path = "Target Support Files/Pods-Tests/Pods-Tests.debug.xcconfig"; sourceTree = ""; }; 41 | 3B685920C307702D1C30B927 /* Pods-MCActivityButton.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MCActivityButton.debug.xcconfig"; path = "Target Support Files/Pods-MCActivityButton/Pods-MCActivityButton.debug.xcconfig"; sourceTree = ""; }; 42 | 4BCFD762E7936F15DFF1DF76 /* Pods-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tests.release.xcconfig"; path = "Target Support Files/Pods-Tests/Pods-Tests.release.xcconfig"; sourceTree = ""; }; 43 | 528CD6FD0D1E2799572D56B4 /* Pods-MCActivityButton.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MCActivityButton.release.xcconfig"; path = "Target Support Files/Pods-MCActivityButton/Pods-MCActivityButton.release.xcconfig"; sourceTree = ""; }; 44 | 6003F58A195388D20070C39A /* MCActivityButton.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MCActivityButton.app; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 46 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 47 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 48 | 6003F595195388D20070C39A /* MCActivityButton-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MCActivityButton-Info.plist"; sourceTree = ""; }; 49 | 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 50 | 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 51 | 6003F59B195388D20070C39A /* MCActivityButton-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "MCActivityButton-Prefix.pch"; sourceTree = ""; }; 52 | 6003F59C195388D20070C39A /* MCActivityButtonAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MCActivityButtonAppDelegate.h; sourceTree = ""; }; 53 | 6003F59D195388D20070C39A /* MCActivityButtonAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MCActivityButtonAppDelegate.m; sourceTree = ""; }; 54 | 6003F5A0195388D20070C39A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main_iPhone.storyboard; sourceTree = ""; }; 55 | 6003F5A3195388D20070C39A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main_iPad.storyboard; sourceTree = ""; }; 56 | 6003F5A5195388D20070C39A /* MCActivityButtonViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MCActivityButtonViewController.h; sourceTree = ""; }; 57 | 6003F5A6195388D20070C39A /* MCActivityButtonViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MCActivityButtonViewController.m; sourceTree = ""; }; 58 | 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 59 | 6003F5AE195388D20070C39A /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 60 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 61 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; 62 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 63 | 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 64 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 65 | 9864B0B9EB5917C51FD57898 /* MCActivityButton.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = MCActivityButton.podspec; path = ../MCActivityButton.podspec; sourceTree = ""; }; 66 | B53E631BF25E11DBAB4A24E9 /* libPods-MCActivityButton.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-MCActivityButton.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 67 | E8D2C65B04123E66870007DE /* libPods-Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 68 | F4703F6EE84D9075BC5FF00D /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 69 | FDAC77D7A9E803C04F6C1C01 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 70 | /* End PBXFileReference section */ 71 | 72 | /* Begin PBXFrameworksBuildPhase section */ 73 | 6003F587195388D20070C39A /* Frameworks */ = { 74 | isa = PBXFrameworksBuildPhase; 75 | buildActionMask = 2147483647; 76 | files = ( 77 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 78 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 79 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, 80 | 87E385CF2A56773662DAC14A /* libPods-MCActivityButton.a in Frameworks */, 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | 6003F5AB195388D20070C39A /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 89 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 90 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, 91 | BB1D7CDE1018BF581190681D /* libPods-Tests.a in Frameworks */, 92 | ); 93 | runOnlyForDeploymentPostprocessing = 0; 94 | }; 95 | /* End PBXFrameworksBuildPhase section */ 96 | 97 | /* Begin PBXGroup section */ 98 | 6003F581195388D10070C39A = { 99 | isa = PBXGroup; 100 | children = ( 101 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, 102 | 6003F593195388D20070C39A /* MCActivityButton */, 103 | 6003F5B5195388D20070C39A /* Tests */, 104 | 6003F58C195388D20070C39A /* Frameworks */, 105 | 6003F58B195388D20070C39A /* Products */, 106 | 86FB380622ABF6355CAADA21 /* Pods */, 107 | ); 108 | sourceTree = ""; 109 | }; 110 | 6003F58B195388D20070C39A /* Products */ = { 111 | isa = PBXGroup; 112 | children = ( 113 | 6003F58A195388D20070C39A /* MCActivityButton.app */, 114 | 6003F5AE195388D20070C39A /* Tests.xctest */, 115 | ); 116 | name = Products; 117 | sourceTree = ""; 118 | }; 119 | 6003F58C195388D20070C39A /* Frameworks */ = { 120 | isa = PBXGroup; 121 | children = ( 122 | 6003F58D195388D20070C39A /* Foundation.framework */, 123 | 6003F58F195388D20070C39A /* CoreGraphics.framework */, 124 | 6003F591195388D20070C39A /* UIKit.framework */, 125 | 6003F5AF195388D20070C39A /* XCTest.framework */, 126 | B53E631BF25E11DBAB4A24E9 /* libPods-MCActivityButton.a */, 127 | E8D2C65B04123E66870007DE /* libPods-Tests.a */, 128 | ); 129 | name = Frameworks; 130 | sourceTree = ""; 131 | }; 132 | 6003F593195388D20070C39A /* MCActivityButton */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | 6003F59C195388D20070C39A /* MCActivityButtonAppDelegate.h */, 136 | 6003F59D195388D20070C39A /* MCActivityButtonAppDelegate.m */, 137 | 6003F59F195388D20070C39A /* Main_iPhone.storyboard */, 138 | 6003F5A2195388D20070C39A /* Main_iPad.storyboard */, 139 | 6003F5A5195388D20070C39A /* MCActivityButtonViewController.h */, 140 | 6003F5A6195388D20070C39A /* MCActivityButtonViewController.m */, 141 | 6003F5A8195388D20070C39A /* Images.xcassets */, 142 | 6003F594195388D20070C39A /* Supporting Files */, 143 | ); 144 | path = MCActivityButton; 145 | sourceTree = ""; 146 | }; 147 | 6003F594195388D20070C39A /* Supporting Files */ = { 148 | isa = PBXGroup; 149 | children = ( 150 | 6003F595195388D20070C39A /* MCActivityButton-Info.plist */, 151 | 6003F596195388D20070C39A /* InfoPlist.strings */, 152 | 6003F599195388D20070C39A /* main.m */, 153 | 6003F59B195388D20070C39A /* MCActivityButton-Prefix.pch */, 154 | ); 155 | name = "Supporting Files"; 156 | sourceTree = ""; 157 | }; 158 | 6003F5B5195388D20070C39A /* Tests */ = { 159 | isa = PBXGroup; 160 | children = ( 161 | 6003F5BB195388D20070C39A /* Tests.m */, 162 | 6003F5B6195388D20070C39A /* Supporting Files */, 163 | ); 164 | path = Tests; 165 | sourceTree = ""; 166 | }; 167 | 6003F5B6195388D20070C39A /* Supporting Files */ = { 168 | isa = PBXGroup; 169 | children = ( 170 | 6003F5B7195388D20070C39A /* Tests-Info.plist */, 171 | 6003F5B8195388D20070C39A /* InfoPlist.strings */, 172 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, 173 | ); 174 | name = "Supporting Files"; 175 | sourceTree = ""; 176 | }; 177 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { 178 | isa = PBXGroup; 179 | children = ( 180 | 9864B0B9EB5917C51FD57898 /* MCActivityButton.podspec */, 181 | FDAC77D7A9E803C04F6C1C01 /* README.md */, 182 | F4703F6EE84D9075BC5FF00D /* LICENSE */, 183 | ); 184 | name = "Podspec Metadata"; 185 | sourceTree = ""; 186 | }; 187 | 86FB380622ABF6355CAADA21 /* Pods */ = { 188 | isa = PBXGroup; 189 | children = ( 190 | 3B685920C307702D1C30B927 /* Pods-MCActivityButton.debug.xcconfig */, 191 | 528CD6FD0D1E2799572D56B4 /* Pods-MCActivityButton.release.xcconfig */, 192 | 08BC36C065FA77E9C2B6A573 /* Pods-Tests.debug.xcconfig */, 193 | 4BCFD762E7936F15DFF1DF76 /* Pods-Tests.release.xcconfig */, 194 | ); 195 | path = Pods; 196 | sourceTree = ""; 197 | }; 198 | /* End PBXGroup section */ 199 | 200 | /* Begin PBXNativeTarget section */ 201 | 6003F589195388D20070C39A /* MCActivityButton */ = { 202 | isa = PBXNativeTarget; 203 | buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "MCActivityButton" */; 204 | buildPhases = ( 205 | B2C0AAE08C03243A2077F22E /* [CP] Check Pods Manifest.lock */, 206 | 6003F586195388D20070C39A /* Sources */, 207 | 6003F587195388D20070C39A /* Frameworks */, 208 | 6003F588195388D20070C39A /* Resources */, 209 | 7ED229D20F892E81288E0CB8 /* [CP] Copy Pods Resources */, 210 | ); 211 | buildRules = ( 212 | ); 213 | dependencies = ( 214 | ); 215 | name = MCActivityButton; 216 | productName = MCActivityButton; 217 | productReference = 6003F58A195388D20070C39A /* MCActivityButton.app */; 218 | productType = "com.apple.product-type.application"; 219 | }; 220 | 6003F5AD195388D20070C39A /* Tests */ = { 221 | isa = PBXNativeTarget; 222 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "Tests" */; 223 | buildPhases = ( 224 | 47F40B5557F7E114BA52BD26 /* [CP] Check Pods Manifest.lock */, 225 | 6003F5AA195388D20070C39A /* Sources */, 226 | 6003F5AB195388D20070C39A /* Frameworks */, 227 | 6003F5AC195388D20070C39A /* Resources */, 228 | 07BA093840A6797412E9878D /* [CP] Copy Pods Resources */, 229 | ); 230 | buildRules = ( 231 | ); 232 | dependencies = ( 233 | 6003F5B4195388D20070C39A /* PBXTargetDependency */, 234 | ); 235 | name = Tests; 236 | productName = MCActivityButtonTests; 237 | productReference = 6003F5AE195388D20070C39A /* Tests.xctest */; 238 | productType = "com.apple.product-type.bundle.unit-test"; 239 | }; 240 | /* End PBXNativeTarget section */ 241 | 242 | /* Begin PBXProject section */ 243 | 6003F582195388D10070C39A /* Project object */ = { 244 | isa = PBXProject; 245 | attributes = { 246 | BuildIndependentTargetsInParallel = YES; 247 | CLASSPREFIX = MCActivityButton; 248 | LastUpgradeCheck = 1540; 249 | ORGANIZATIONNAME = "Marcos Curvello"; 250 | TargetAttributes = { 251 | 6003F5AD195388D20070C39A = { 252 | TestTargetID = 6003F589195388D20070C39A; 253 | }; 254 | }; 255 | }; 256 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "Example" */; 257 | compatibilityVersion = "Xcode 3.2"; 258 | developmentRegion = English; 259 | hasScannedForEncodings = 0; 260 | knownRegions = ( 261 | English, 262 | en, 263 | Base, 264 | ); 265 | mainGroup = 6003F581195388D10070C39A; 266 | productRefGroup = 6003F58B195388D20070C39A /* Products */; 267 | projectDirPath = ""; 268 | projectRoot = ""; 269 | targets = ( 270 | 6003F589195388D20070C39A /* MCActivityButton */, 271 | 6003F5AD195388D20070C39A /* Tests */, 272 | ); 273 | }; 274 | /* End PBXProject section */ 275 | 276 | /* Begin PBXResourcesBuildPhase section */ 277 | 6003F588195388D20070C39A /* Resources */ = { 278 | isa = PBXResourcesBuildPhase; 279 | buildActionMask = 2147483647; 280 | files = ( 281 | 6003F5A4195388D20070C39A /* Main_iPad.storyboard in Resources */, 282 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, 283 | 6003F5A1195388D20070C39A /* Main_iPhone.storyboard in Resources */, 284 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, 285 | ); 286 | runOnlyForDeploymentPostprocessing = 0; 287 | }; 288 | 6003F5AC195388D20070C39A /* Resources */ = { 289 | isa = PBXResourcesBuildPhase; 290 | buildActionMask = 2147483647; 291 | files = ( 292 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, 293 | ); 294 | runOnlyForDeploymentPostprocessing = 0; 295 | }; 296 | /* End PBXResourcesBuildPhase section */ 297 | 298 | /* Begin PBXShellScriptBuildPhase section */ 299 | 07BA093840A6797412E9878D /* [CP] Copy Pods Resources */ = { 300 | isa = PBXShellScriptBuildPhase; 301 | buildActionMask = 2147483647; 302 | files = ( 303 | ); 304 | inputPaths = ( 305 | "${PODS_ROOT}/Target Support Files/Pods-Tests/Pods-Tests-resources.sh", 306 | "${PODS_CONFIGURATION_BUILD_DIR}/MCActivityButton/MCActivityButton.bundle", 307 | ); 308 | name = "[CP] Copy Pods Resources"; 309 | outputPaths = ( 310 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MCActivityButton.bundle", 311 | ); 312 | runOnlyForDeploymentPostprocessing = 0; 313 | shellPath = /bin/sh; 314 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Tests/Pods-Tests-resources.sh\"\n"; 315 | showEnvVarsInLog = 0; 316 | }; 317 | 47F40B5557F7E114BA52BD26 /* [CP] Check Pods Manifest.lock */ = { 318 | isa = PBXShellScriptBuildPhase; 319 | buildActionMask = 2147483647; 320 | files = ( 321 | ); 322 | inputFileListPaths = ( 323 | ); 324 | inputPaths = ( 325 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 326 | "${PODS_ROOT}/Manifest.lock", 327 | ); 328 | name = "[CP] Check Pods Manifest.lock"; 329 | outputFileListPaths = ( 330 | ); 331 | outputPaths = ( 332 | "$(DERIVED_FILE_DIR)/Pods-Tests-checkManifestLockResult.txt", 333 | ); 334 | runOnlyForDeploymentPostprocessing = 0; 335 | shellPath = /bin/sh; 336 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 337 | showEnvVarsInLog = 0; 338 | }; 339 | 7ED229D20F892E81288E0CB8 /* [CP] Copy Pods Resources */ = { 340 | isa = PBXShellScriptBuildPhase; 341 | buildActionMask = 2147483647; 342 | files = ( 343 | ); 344 | inputPaths = ( 345 | "${PODS_ROOT}/Target Support Files/Pods-MCActivityButton/Pods-MCActivityButton-resources.sh", 346 | "${PODS_CONFIGURATION_BUILD_DIR}/MCActivityButton/MCActivityButton.bundle", 347 | ); 348 | name = "[CP] Copy Pods Resources"; 349 | outputPaths = ( 350 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MCActivityButton.bundle", 351 | ); 352 | runOnlyForDeploymentPostprocessing = 0; 353 | shellPath = /bin/sh; 354 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-MCActivityButton/Pods-MCActivityButton-resources.sh\"\n"; 355 | showEnvVarsInLog = 0; 356 | }; 357 | B2C0AAE08C03243A2077F22E /* [CP] Check Pods Manifest.lock */ = { 358 | isa = PBXShellScriptBuildPhase; 359 | buildActionMask = 2147483647; 360 | files = ( 361 | ); 362 | inputFileListPaths = ( 363 | ); 364 | inputPaths = ( 365 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 366 | "${PODS_ROOT}/Manifest.lock", 367 | ); 368 | name = "[CP] Check Pods Manifest.lock"; 369 | outputFileListPaths = ( 370 | ); 371 | outputPaths = ( 372 | "$(DERIVED_FILE_DIR)/Pods-MCActivityButton-checkManifestLockResult.txt", 373 | ); 374 | runOnlyForDeploymentPostprocessing = 0; 375 | shellPath = /bin/sh; 376 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 377 | showEnvVarsInLog = 0; 378 | }; 379 | /* End PBXShellScriptBuildPhase section */ 380 | 381 | /* Begin PBXSourcesBuildPhase section */ 382 | 6003F586195388D20070C39A /* Sources */ = { 383 | isa = PBXSourcesBuildPhase; 384 | buildActionMask = 2147483647; 385 | files = ( 386 | 6003F59E195388D20070C39A /* MCActivityButtonAppDelegate.m in Sources */, 387 | 6003F5A7195388D20070C39A /* MCActivityButtonViewController.m in Sources */, 388 | 6003F59A195388D20070C39A /* main.m in Sources */, 389 | ); 390 | runOnlyForDeploymentPostprocessing = 0; 391 | }; 392 | 6003F5AA195388D20070C39A /* Sources */ = { 393 | isa = PBXSourcesBuildPhase; 394 | buildActionMask = 2147483647; 395 | files = ( 396 | 6003F5BC195388D20070C39A /* Tests.m in Sources */, 397 | ); 398 | runOnlyForDeploymentPostprocessing = 0; 399 | }; 400 | /* End PBXSourcesBuildPhase section */ 401 | 402 | /* Begin PBXTargetDependency section */ 403 | 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { 404 | isa = PBXTargetDependency; 405 | target = 6003F589195388D20070C39A /* MCActivityButton */; 406 | targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; 407 | }; 408 | /* End PBXTargetDependency section */ 409 | 410 | /* Begin PBXVariantGroup section */ 411 | 6003F596195388D20070C39A /* InfoPlist.strings */ = { 412 | isa = PBXVariantGroup; 413 | children = ( 414 | 6003F597195388D20070C39A /* en */, 415 | ); 416 | name = InfoPlist.strings; 417 | sourceTree = ""; 418 | }; 419 | 6003F59F195388D20070C39A /* Main_iPhone.storyboard */ = { 420 | isa = PBXVariantGroup; 421 | children = ( 422 | 6003F5A0195388D20070C39A /* Base */, 423 | ); 424 | name = Main_iPhone.storyboard; 425 | sourceTree = ""; 426 | }; 427 | 6003F5A2195388D20070C39A /* Main_iPad.storyboard */ = { 428 | isa = PBXVariantGroup; 429 | children = ( 430 | 6003F5A3195388D20070C39A /* Base */, 431 | ); 432 | name = Main_iPad.storyboard; 433 | sourceTree = ""; 434 | }; 435 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { 436 | isa = PBXVariantGroup; 437 | children = ( 438 | 6003F5B9195388D20070C39A /* en */, 439 | ); 440 | name = InfoPlist.strings; 441 | sourceTree = ""; 442 | }; 443 | /* End PBXVariantGroup section */ 444 | 445 | /* Begin XCBuildConfiguration section */ 446 | 6003F5BD195388D20070C39A /* Debug */ = { 447 | isa = XCBuildConfiguration; 448 | buildSettings = { 449 | ALWAYS_SEARCH_USER_PATHS = NO; 450 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 451 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 452 | CLANG_CXX_LIBRARY = "libc++"; 453 | CLANG_ENABLE_MODULES = YES; 454 | CLANG_ENABLE_OBJC_ARC = YES; 455 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 456 | CLANG_WARN_BOOL_CONVERSION = YES; 457 | CLANG_WARN_COMMA = YES; 458 | CLANG_WARN_CONSTANT_CONVERSION = YES; 459 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 460 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 461 | CLANG_WARN_EMPTY_BODY = YES; 462 | CLANG_WARN_ENUM_CONVERSION = YES; 463 | CLANG_WARN_INFINITE_RECURSION = YES; 464 | CLANG_WARN_INT_CONVERSION = YES; 465 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 466 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 467 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 468 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 469 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 470 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 471 | CLANG_WARN_STRICT_PROTOTYPES = YES; 472 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 473 | CLANG_WARN_UNREACHABLE_CODE = YES; 474 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 475 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 476 | COPY_PHASE_STRIP = NO; 477 | ENABLE_STRICT_OBJC_MSGSEND = YES; 478 | ENABLE_TESTABILITY = YES; 479 | ENABLE_USER_SCRIPT_SANDBOXING = YES; 480 | GCC_C_LANGUAGE_STANDARD = gnu99; 481 | GCC_DYNAMIC_NO_PIC = NO; 482 | GCC_NO_COMMON_BLOCKS = YES; 483 | GCC_OPTIMIZATION_LEVEL = 0; 484 | GCC_PREPROCESSOR_DEFINITIONS = ( 485 | "DEBUG=1", 486 | "$(inherited)", 487 | ); 488 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 489 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 490 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 491 | GCC_WARN_UNDECLARED_SELECTOR = YES; 492 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 493 | GCC_WARN_UNUSED_FUNCTION = YES; 494 | GCC_WARN_UNUSED_VARIABLE = YES; 495 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 496 | ONLY_ACTIVE_ARCH = YES; 497 | SDKROOT = iphoneos; 498 | TARGETED_DEVICE_FAMILY = "1,2"; 499 | }; 500 | name = Debug; 501 | }; 502 | 6003F5BE195388D20070C39A /* Release */ = { 503 | isa = XCBuildConfiguration; 504 | buildSettings = { 505 | ALWAYS_SEARCH_USER_PATHS = NO; 506 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 507 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 508 | CLANG_CXX_LIBRARY = "libc++"; 509 | CLANG_ENABLE_MODULES = YES; 510 | CLANG_ENABLE_OBJC_ARC = YES; 511 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 512 | CLANG_WARN_BOOL_CONVERSION = YES; 513 | CLANG_WARN_COMMA = YES; 514 | CLANG_WARN_CONSTANT_CONVERSION = YES; 515 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 516 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 517 | CLANG_WARN_EMPTY_BODY = YES; 518 | CLANG_WARN_ENUM_CONVERSION = YES; 519 | CLANG_WARN_INFINITE_RECURSION = YES; 520 | CLANG_WARN_INT_CONVERSION = YES; 521 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 522 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 523 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 524 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 525 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 526 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 527 | CLANG_WARN_STRICT_PROTOTYPES = YES; 528 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 529 | CLANG_WARN_UNREACHABLE_CODE = YES; 530 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 531 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 532 | COPY_PHASE_STRIP = YES; 533 | ENABLE_NS_ASSERTIONS = NO; 534 | ENABLE_STRICT_OBJC_MSGSEND = YES; 535 | ENABLE_USER_SCRIPT_SANDBOXING = YES; 536 | GCC_C_LANGUAGE_STANDARD = gnu99; 537 | GCC_NO_COMMON_BLOCKS = YES; 538 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 539 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 540 | GCC_WARN_UNDECLARED_SELECTOR = YES; 541 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 542 | GCC_WARN_UNUSED_FUNCTION = YES; 543 | GCC_WARN_UNUSED_VARIABLE = YES; 544 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 545 | SDKROOT = iphoneos; 546 | TARGETED_DEVICE_FAMILY = "1,2"; 547 | VALIDATE_PRODUCT = YES; 548 | }; 549 | name = Release; 550 | }; 551 | 6003F5C0195388D20070C39A /* Debug */ = { 552 | isa = XCBuildConfiguration; 553 | baseConfigurationReference = 3B685920C307702D1C30B927 /* Pods-MCActivityButton.debug.xcconfig */; 554 | buildSettings = { 555 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 556 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 557 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 558 | GCC_PREFIX_HEADER = "MCActivityButton/MCActivityButton-Prefix.pch"; 559 | INFOPLIST_FILE = "MCActivityButton/MCActivityButton-Info.plist"; 560 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 561 | PRODUCT_NAME = "$(TARGET_NAME)"; 562 | WRAPPER_EXTENSION = app; 563 | }; 564 | name = Debug; 565 | }; 566 | 6003F5C1195388D20070C39A /* Release */ = { 567 | isa = XCBuildConfiguration; 568 | baseConfigurationReference = 528CD6FD0D1E2799572D56B4 /* Pods-MCActivityButton.release.xcconfig */; 569 | buildSettings = { 570 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 571 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 572 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 573 | GCC_PREFIX_HEADER = "MCActivityButton/MCActivityButton-Prefix.pch"; 574 | INFOPLIST_FILE = "MCActivityButton/MCActivityButton-Info.plist"; 575 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 576 | PRODUCT_NAME = "$(TARGET_NAME)"; 577 | WRAPPER_EXTENSION = app; 578 | }; 579 | name = Release; 580 | }; 581 | 6003F5C3195388D20070C39A /* Debug */ = { 582 | isa = XCBuildConfiguration; 583 | baseConfigurationReference = 08BC36C065FA77E9C2B6A573 /* Pods-Tests.debug.xcconfig */; 584 | buildSettings = { 585 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/MCActivityButton.app/MCActivityButton"; 586 | FRAMEWORK_SEARCH_PATHS = ( 587 | "$(SDKROOT)/Developer/Library/Frameworks", 588 | "$(inherited)", 589 | "$(DEVELOPER_FRAMEWORKS_DIR)", 590 | ); 591 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 592 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 593 | GCC_PREPROCESSOR_DEFINITIONS = ( 594 | "DEBUG=1", 595 | "$(inherited)", 596 | ); 597 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 598 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 599 | PRODUCT_NAME = "$(TARGET_NAME)"; 600 | TEST_HOST = "$(BUNDLE_LOADER)"; 601 | WRAPPER_EXTENSION = xctest; 602 | }; 603 | name = Debug; 604 | }; 605 | 6003F5C4195388D20070C39A /* Release */ = { 606 | isa = XCBuildConfiguration; 607 | baseConfigurationReference = 4BCFD762E7936F15DFF1DF76 /* Pods-Tests.release.xcconfig */; 608 | buildSettings = { 609 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/MCActivityButton.app/MCActivityButton"; 610 | FRAMEWORK_SEARCH_PATHS = ( 611 | "$(SDKROOT)/Developer/Library/Frameworks", 612 | "$(inherited)", 613 | "$(DEVELOPER_FRAMEWORKS_DIR)", 614 | ); 615 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 616 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 617 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 618 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 619 | PRODUCT_NAME = "$(TARGET_NAME)"; 620 | TEST_HOST = "$(BUNDLE_LOADER)"; 621 | WRAPPER_EXTENSION = xctest; 622 | }; 623 | name = Release; 624 | }; 625 | /* End XCBuildConfiguration section */ 626 | 627 | /* Begin XCConfigurationList section */ 628 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "Example" */ = { 629 | isa = XCConfigurationList; 630 | buildConfigurations = ( 631 | 6003F5BD195388D20070C39A /* Debug */, 632 | 6003F5BE195388D20070C39A /* Release */, 633 | ); 634 | defaultConfigurationIsVisible = 0; 635 | defaultConfigurationName = Release; 636 | }; 637 | 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "MCActivityButton" */ = { 638 | isa = XCConfigurationList; 639 | buildConfigurations = ( 640 | 6003F5C0195388D20070C39A /* Debug */, 641 | 6003F5C1195388D20070C39A /* Release */, 642 | ); 643 | defaultConfigurationIsVisible = 0; 644 | defaultConfigurationName = Release; 645 | }; 646 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "Tests" */ = { 647 | isa = XCConfigurationList; 648 | buildConfigurations = ( 649 | 6003F5C3195388D20070C39A /* Debug */, 650 | 6003F5C4195388D20070C39A /* Release */, 651 | ); 652 | defaultConfigurationIsVisible = 0; 653 | defaultConfigurationName = Release; 654 | }; 655 | /* End XCConfigurationList section */ 656 | }; 657 | rootObject = 6003F582195388D10070C39A /* Project object */; 658 | } 659 | -------------------------------------------------------------------------------- /Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Example.xcodeproj/xcshareddata/xcschemes/MCActivityButton-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 37 | 38 | 39 | 40 | 42 | 48 | 49 | 50 | 51 | 52 | 62 | 64 | 70 | 71 | 72 | 73 | 79 | 81 | 87 | 88 | 89 | 90 | 92 | 93 | 96 | 97 | 98 | -------------------------------------------------------------------------------- /Example/MCActivityButton.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/MCActivityButton/Base.lproj/Main_iPad.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Example/MCActivityButton/Base.lproj/Main_iPhone.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Example/MCActivityButton/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "40x40", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "60x60", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "ipad", 20 | "size" : "29x29", 21 | "scale" : "1x" 22 | }, 23 | { 24 | "idiom" : "ipad", 25 | "size" : "29x29", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "ipad", 30 | "size" : "40x40", 31 | "scale" : "1x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "40x40", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "76x76", 41 | "scale" : "1x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "76x76", 46 | "scale" : "2x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Example/MCActivityButton/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "orientation" : "portrait", 20 | "idiom" : "ipad", 21 | "extent" : "full-screen", 22 | "minimum-system-version" : "7.0", 23 | "scale" : "1x" 24 | }, 25 | { 26 | "orientation" : "landscape", 27 | "idiom" : "ipad", 28 | "extent" : "full-screen", 29 | "minimum-system-version" : "7.0", 30 | "scale" : "1x" 31 | }, 32 | { 33 | "orientation" : "portrait", 34 | "idiom" : "ipad", 35 | "extent" : "full-screen", 36 | "minimum-system-version" : "7.0", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "orientation" : "landscape", 41 | "idiom" : "ipad", 42 | "extent" : "full-screen", 43 | "minimum-system-version" : "7.0", 44 | "scale" : "2x" 45 | } 46 | ], 47 | "info" : { 48 | "version" : 1, 49 | "author" : "xcode" 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Example/MCActivityButton/MCActivityButton-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | org.cocoapods.demo.${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 | UIMainStoryboardFile 28 | Main_iPhone 29 | UIMainStoryboardFile~ipad 30 | Main_iPad 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UISupportedInterfaceOrientations~ipad 42 | 43 | UIInterfaceOrientationPortrait 44 | UIInterfaceOrientationPortraitUpsideDown 45 | UIInterfaceOrientationLandscapeLeft 46 | UIInterfaceOrientationLandscapeRight 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /Example/MCActivityButton/MCActivityButton-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/MCActivityButton/MCActivityButtonAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // MCActivityButtonAppDelegate.h 3 | // MCActivityButton 4 | // 5 | // Created by CocoaPods on 04/24/2015. 6 | // Copyright (c) 2014 Marcos Curvello. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MCActivityButtonAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example/MCActivityButton/MCActivityButtonAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // MCActivityButtonAppDelegate.m 3 | // MCActivityButton 4 | // 5 | // Created by CocoaPods on 04/24/2015. 6 | // Copyright (c) 2014 Marcos Curvello. All rights reserved. 7 | // 8 | 9 | #import "MCActivityButtonAppDelegate.h" 10 | 11 | @implementation MCActivityButtonAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 22 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 38 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application 42 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Example/MCActivityButton/MCActivityButtonViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MCActivityButtonViewController.h 3 | // MCActivityButton 4 | // 5 | // Created by Marcos Curvello on 04/24/2015. 6 | // Copyright (c) 2014 Marcos Curvello. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | 13 | @interface MCActivityButtonViewController : UIViewController 14 | 15 | @property (nonatomic, strong) MCActivityButton *activityButton; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Example/MCActivityButton/MCActivityButtonViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // MCActivityButtonViewController.m 3 | // MCActivityButton 4 | // 5 | // Created by Marcos Curvello on 04/24/2015. 6 | // Copyright (c) 2014 Marcos Curvello. All rights reserved. 7 | // 8 | 9 | #import "MCActivityButtonViewController.h" 10 | 11 | @interface MCActivityButtonViewController () 12 | 13 | @end 14 | 15 | @implementation MCActivityButtonViewController 16 | 17 | @synthesize activityButton = _activityButton; 18 | 19 | - (void)viewDidLoad 20 | { 21 | [super viewDidLoad]; 22 | 23 | // Allocate an instance of MCActivityButton 24 | _activityButton = [[MCActivityButton alloc] initWithFrame:CGRectMake(self.view.frame.size.width / 2 - 100, self.view.frame.size.height / 2 - 80, 100, 40)]; 25 | 26 | // Default UIButton customization 27 | [_activityButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; 28 | _activityButton.titleLabel.font = [UIFont fontWithName:@"HelveticaNeue" size:12]; 29 | _activityButton.backgroundColor = [UIColor darkGrayColor]; 30 | 31 | // Initial and Action Button Title 32 | _activityButton.initialTitle = @"Dowload File"; 33 | _activityButton.activityTitle = @"Downloading..."; 34 | 35 | // Locks subsequent button clicks 36 | _activityButton.lockTaps = NO; 37 | 38 | // Button title animation duration 39 | _activityButton.buttonAnimationDuration = 0.5; 40 | 41 | // Optional Rounded Edges 42 | _activityButton.layer.cornerRadius = 5; 43 | _activityButton.clipsToBounds = YES; 44 | 45 | //Customize activity indicator 46 | _activityButton.activityIndicatorColor = [UIColor whiteColor]; 47 | _activityButton.activityIndicatorMargin = 0; 48 | _activityButton.activityIndicatorScale = 0.8; 49 | 50 | 51 | // Allocate an instance of MCActivityButton 52 | MCActivityButton *button = [[MCActivityButton alloc] initWithFrame:CGRectMake(self.view.frame.size.width / 2 - 100, self.view.frame.size.height / 2 - 20, 80, 40)]; 53 | 54 | // Default UIButton customization 55 | [button setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; 56 | button.titleLabel.font = [UIFont fontWithName:@"HelveticaNeue" size:14]; 57 | button.backgroundColor = [UIColor colorWithRed:0.000 green:0.294 blue:0.624 alpha:1.000]; 58 | 59 | // Initial and Action Button Title 60 | button.initialTitle = @"Login"; 61 | button.activityTitle = @"Logging in..."; 62 | 63 | // Locks subsequent button clicks 64 | button.lockTaps = NO; 65 | 66 | // Button title animation duration 67 | button.buttonAnimationDuration = 0.5; 68 | 69 | // Optional Rounded Edges 70 | button.layer.cornerRadius = 20; 71 | button.clipsToBounds = YES; 72 | 73 | // Customize activity indicator color 74 | button.activityIndicatorColor = [UIColor whiteColor]; 75 | button.activityIndicatorMargin = 7; 76 | 77 | // Customize the scale factor of the activity indicator 78 | button.activityIndicatorScale = 0.8; 79 | 80 | // Add Buttons to the view 81 | [self.view addSubview:button]; 82 | [self.view addSubview:self.activityButton]; 83 | 84 | 85 | // Simulate button click 86 | dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 2 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{ 87 | 88 | [self.activityButton setHighlighted:YES]; 89 | 90 | dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 5 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{ 91 | 92 | // Stop button animation 93 | [self.activityButton stopAnimating]; 94 | 95 | }); 96 | 97 | }); 98 | 99 | // Simulate button click 100 | dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 2 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{ 101 | 102 | [button setHighlighted:YES]; 103 | 104 | dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 5 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{ 105 | 106 | // Stop button animation 107 | [button stopAnimating]; 108 | 109 | }); 110 | 111 | }); 112 | 113 | } 114 | 115 | 116 | @end 117 | -------------------------------------------------------------------------------- /Example/MCActivityButton/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/MCActivityButton/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // MCActivityButton 4 | // 5 | // Created by Marcos Curvello on 04/24/2015. 6 | // Copyright (c) 2014 Marcos Curvello. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "MCActivityButtonAppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([MCActivityButtonAppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | source 'https://github.com/CocoaPods/Specs.git' 2 | 3 | platform :ios, '8.0' 4 | 5 | target 'MCActivityButton' do 6 | pod "MCActivityButton", :path => "../" 7 | end 8 | 9 | target 'Tests' do 10 | pod "MCActivityButton", :path => "../" 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - MCActivityButton (0.2.1) 3 | 4 | DEPENDENCIES: 5 | - MCActivityButton (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | MCActivityButton: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | MCActivityButton: 4ba6fce92c269cc55cfbff0ca922fb6c75b39373 13 | 14 | PODFILE CHECKSUM: 18842deaa976f113660b702d8541e7b3b3f49204 15 | 16 | COCOAPODS: 1.15.2 17 | -------------------------------------------------------------------------------- /Example/Pods/Headers/Private/MCActivityButton/MCActivityButton.h: -------------------------------------------------------------------------------- 1 | ../../../../../Pod/Classes/MCActivityButton.h -------------------------------------------------------------------------------- /Example/Pods/Headers/Public/MCActivityButton/MCActivityButton.h: -------------------------------------------------------------------------------- 1 | ../../../../../Pod/Classes/MCActivityButton.h -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/MCActivityButton.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MCActivityButton", 3 | "version": "0.2.1", 4 | "summary": "UIButton subclass that animates a custom message with an activity indicator.", 5 | "description": "`MCActivityButton` is an objective-c `UIButton` subclass that animates a standard iOS activity indicator with a custom title when tapped.'\n\n * Markdown format.\n * Don't worry about the indent, we strip it!", 6 | "homepage": "https://github.com/marcoscurvello/MCActivityButton", 7 | "screenshots": [ 8 | "https://raw.githubusercontent.com/marcoscurvello/MCActivityButton/master/Screenshots/screenshot0.png", 9 | "https://raw.githubusercontent.com/marcoscurvello/MCActivityButton/master/Screenshots/screenshot1.png" 10 | ], 11 | "license": "MIT", 12 | "authors": { 13 | "Marcos Curvello": "mrcurvello@gmail.com" 14 | }, 15 | "source": { 16 | "git": "https://github.com/marcoscurvello/MCActivityButton.git", 17 | "tag": "0.2.1" 18 | }, 19 | "social_media_url": "https://twitter.com/mrcurvello", 20 | "platforms": { 21 | "ios": "7.0" 22 | }, 23 | "requires_arc": true, 24 | "source_files": "Pod/Classes/**/*", 25 | "resource_bundles": { 26 | "MCActivityButton": [ 27 | "Pod/Assets/*.png" 28 | ] 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - MCActivityButton (0.2.1) 3 | 4 | DEPENDENCIES: 5 | - MCActivityButton (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | MCActivityButton: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | MCActivityButton: 4ba6fce92c269cc55cfbff0ca922fb6c75b39373 13 | 14 | PODFILE CHECKSUM: 18842deaa976f113660b702d8541e7b3b3f49204 15 | 16 | COCOAPODS: 1.15.2 17 | -------------------------------------------------------------------------------- /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 | 63983E99941285F827D40C4379024922 /* MCActivityButton.m in Sources */ = {isa = PBXBuildFile; fileRef = 3FB201EE666CDDF2D9EF284FD8A856F2 /* MCActivityButton.m */; }; 11 | 6F4A08ABAF87219D586367081D621991 /* MCActivityButton.h in Headers */ = {isa = PBXBuildFile; fileRef = AD2C0977C7FECB39345ED1CC56FD1B07 /* MCActivityButton.h */; settings = {ATTRIBUTES = (Project, ); }; }; 12 | 8C7389C898F7002BC2E2369439A46322 /* MCActivityButton-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DA27B4408E20A614D59A41F4775AD2E4 /* MCActivityButton-dummy.m */; }; 13 | AC821241D3F987DCAF7D096F2B064B68 /* Pods-Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 339A7422175D12AB337AF12829BD709B /* Pods-Tests-dummy.m */; }; 14 | C3BDC189E74F384D4669833AD9685DA7 /* Pods-MCActivityButton-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A7F908E7F72C824E6232AC7C507ABE6 /* Pods-MCActivityButton-dummy.m */; }; 15 | /* End PBXBuildFile section */ 16 | 17 | /* Begin PBXContainerItemProxy section */ 18 | 0F5A324AE1375AB7CA5E6DE7E8579CB8 /* PBXContainerItemProxy */ = { 19 | isa = PBXContainerItemProxy; 20 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 21 | proxyType = 1; 22 | remoteGlobalIDString = CEFCBF6EA78408DB95B2F0CA0E1DA54B; 23 | remoteInfo = MCActivityButton; 24 | }; 25 | 2160623865A6596C189ED7CF28574E44 /* PBXContainerItemProxy */ = { 26 | isa = PBXContainerItemProxy; 27 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 28 | proxyType = 1; 29 | remoteGlobalIDString = DA605978F559606B8277C0F2A5E665DF; 30 | remoteInfo = "MCActivityButton-MCActivityButton"; 31 | }; 32 | C8E2001933687B497B3966C5F3608CFA /* PBXContainerItemProxy */ = { 33 | isa = PBXContainerItemProxy; 34 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 35 | proxyType = 1; 36 | remoteGlobalIDString = CEFCBF6EA78408DB95B2F0CA0E1DA54B; 37 | remoteInfo = MCActivityButton; 38 | }; 39 | /* End PBXContainerItemProxy section */ 40 | 41 | /* Begin PBXFileReference section */ 42 | 1714233C14474315EA25A4C9012A890C /* Pods-Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Tests-acknowledgements.markdown"; sourceTree = ""; }; 43 | 1E3E2A2F8805E91F42706A019F009D98 /* MCActivityButton-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "MCActivityButton-prefix.pch"; sourceTree = ""; }; 44 | 1E73719CBD12DDD87273CD4B5518340F /* MCActivityButton.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = MCActivityButton.debug.xcconfig; sourceTree = ""; }; 45 | 2C4BB702C211C3823756DC43925F6339 /* Pods-MCActivityButton-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-MCActivityButton-acknowledgements.markdown"; sourceTree = ""; }; 46 | 2FE3A9FD19D82FCC085840214CC7D437 /* MCActivityButton.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = MCActivityButton.release.xcconfig; sourceTree = ""; }; 47 | 339A7422175D12AB337AF12829BD709B /* Pods-Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Tests-dummy.m"; sourceTree = ""; }; 48 | 3A7F908E7F72C824E6232AC7C507ABE6 /* Pods-MCActivityButton-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-MCActivityButton-dummy.m"; sourceTree = ""; }; 49 | 3FB201EE666CDDF2D9EF284FD8A856F2 /* MCActivityButton.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MCActivityButton.m; path = Pod/Classes/MCActivityButton.m; sourceTree = ""; }; 50 | 43307C1E9E4B10AB27E3A9DF9CA19940 /* Pods-MCActivityButton.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MCActivityButton.release.xcconfig"; sourceTree = ""; }; 51 | 434147598FA8ADC7F1D6D30C2D898247 /* MCActivityButton */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = MCActivityButton; path = libMCActivityButton.a; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | 4F5E2AA552A6829035B4C29FD5CCDA95 /* Pods-Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Tests-acknowledgements.plist"; sourceTree = ""; }; 53 | 55F6B0C58CB4A0A510B4E89F068FDF9F /* Pods-MCActivityButton.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MCActivityButton.debug.xcconfig"; sourceTree = ""; }; 54 | 90B001ECAB7F0B8DD82CF9089F6509A2 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; 55 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 56 | 9FC9B210F87CC585DCD002CA5D82E95C /* MCActivityButton.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = MCActivityButton.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 57 | A1263234AA4A550B5BF4A2B6BD729766 /* Pods-MCActivityButton */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "Pods-MCActivityButton"; path = "libPods-MCActivityButton.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | A403D8375BEE459B699AB28E57E8CE95 /* MCActivityButton-MCActivityButton */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = "MCActivityButton-MCActivityButton"; path = MCActivityButton.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; 59 | A7079F1623A7E63E20C2C8858A6AC2B9 /* Pods-Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Tests-resources.sh"; sourceTree = ""; }; 60 | AD2C0977C7FECB39345ED1CC56FD1B07 /* MCActivityButton.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MCActivityButton.h; path = Pod/Classes/MCActivityButton.h; sourceTree = ""; }; 61 | AF4B82C7ACE8B05C466C3E282D0689AF /* Pods-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Tests.release.xcconfig"; sourceTree = ""; }; 62 | B6057BD33FC08927FF57922155465D86 /* Pods-Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Tests.debug.xcconfig"; sourceTree = ""; }; 63 | D250B4485A7CA93138A83BA4A3E8E7ED /* Pods-MCActivityButton-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MCActivityButton-resources.sh"; sourceTree = ""; }; 64 | DA27B4408E20A614D59A41F4775AD2E4 /* MCActivityButton-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "MCActivityButton-dummy.m"; sourceTree = ""; }; 65 | E98BBB385B9492264D0A4AA0162D8322 /* ResourceBundle-MCActivityButton-MCActivityButton-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ResourceBundle-MCActivityButton-MCActivityButton-Info.plist"; sourceTree = ""; }; 66 | F11CAFA106A988844B0C7798675FDB4A /* Pods-MCActivityButton-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-MCActivityButton-acknowledgements.plist"; sourceTree = ""; }; 67 | FC95D668E217CFBB25845AA15162348B /* Pods-Tests */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "Pods-Tests"; path = "libPods-Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 68 | FFCF97D27CB984075B808D2A28AB0398 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; 69 | /* End PBXFileReference section */ 70 | 71 | /* Begin PBXFrameworksBuildPhase section */ 72 | 1E710D03360572C9325C349825CCDAD2 /* Frameworks */ = { 73 | isa = PBXFrameworksBuildPhase; 74 | buildActionMask = 2147483647; 75 | files = ( 76 | ); 77 | runOnlyForDeploymentPostprocessing = 0; 78 | }; 79 | 27944B8D9E6AAE86D71187E094A1D595 /* Frameworks */ = { 80 | isa = PBXFrameworksBuildPhase; 81 | buildActionMask = 2147483647; 82 | files = ( 83 | ); 84 | runOnlyForDeploymentPostprocessing = 0; 85 | }; 86 | 28A10B7E62D75B1CF22BC1E9DE8B3A8E /* Frameworks */ = { 87 | isa = PBXFrameworksBuildPhase; 88 | buildActionMask = 2147483647; 89 | files = ( 90 | ); 91 | runOnlyForDeploymentPostprocessing = 0; 92 | }; 93 | FDBBF5EC647080FD270C88185B651BB5 /* Frameworks */ = { 94 | isa = PBXFrameworksBuildPhase; 95 | buildActionMask = 2147483647; 96 | files = ( 97 | ); 98 | runOnlyForDeploymentPostprocessing = 0; 99 | }; 100 | /* End PBXFrameworksBuildPhase section */ 101 | 102 | /* Begin PBXGroup section */ 103 | 1B25AA7AE3501ABB5E2CFDA543A5C04A /* Development Pods */ = { 104 | isa = PBXGroup; 105 | children = ( 106 | 4AE7B6779F6D6B3640F6B9844A40990E /* MCActivityButton */, 107 | ); 108 | name = "Development Pods"; 109 | sourceTree = ""; 110 | }; 111 | 304D267C65905FA1C88BA8AF0E46E635 /* Products */ = { 112 | isa = PBXGroup; 113 | children = ( 114 | 434147598FA8ADC7F1D6D30C2D898247 /* MCActivityButton */, 115 | A403D8375BEE459B699AB28E57E8CE95 /* MCActivityButton-MCActivityButton */, 116 | A1263234AA4A550B5BF4A2B6BD729766 /* Pods-MCActivityButton */, 117 | FC95D668E217CFBB25845AA15162348B /* Pods-Tests */, 118 | ); 119 | name = Products; 120 | sourceTree = ""; 121 | }; 122 | 36935E107EC0FF71EEA1A4A2C41FFF1B /* Targets Support Files */ = { 123 | isa = PBXGroup; 124 | children = ( 125 | 936E1CBFA26769ABAA509DC020A0D5A3 /* Pods-MCActivityButton */, 126 | D8C3D4F0DDFD6543DEF7E532A279F71D /* Pods-Tests */, 127 | ); 128 | name = "Targets Support Files"; 129 | sourceTree = ""; 130 | }; 131 | 4AE7B6779F6D6B3640F6B9844A40990E /* MCActivityButton */ = { 132 | isa = PBXGroup; 133 | children = ( 134 | AD2C0977C7FECB39345ED1CC56FD1B07 /* MCActivityButton.h */, 135 | 3FB201EE666CDDF2D9EF284FD8A856F2 /* MCActivityButton.m */, 136 | 7573772AF45F213AC853F66ECA4DDCFE /* Pod */, 137 | 7F1182BD2BC4ABFBF6D154D725B1FA8C /* Support Files */, 138 | ); 139 | name = MCActivityButton; 140 | path = ../..; 141 | sourceTree = ""; 142 | }; 143 | 7573772AF45F213AC853F66ECA4DDCFE /* Pod */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | 90B001ECAB7F0B8DD82CF9089F6509A2 /* LICENSE */, 147 | 9FC9B210F87CC585DCD002CA5D82E95C /* MCActivityButton.podspec */, 148 | FFCF97D27CB984075B808D2A28AB0398 /* README.md */, 149 | ); 150 | name = Pod; 151 | sourceTree = ""; 152 | }; 153 | 7F1182BD2BC4ABFBF6D154D725B1FA8C /* Support Files */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | DA27B4408E20A614D59A41F4775AD2E4 /* MCActivityButton-dummy.m */, 157 | 1E3E2A2F8805E91F42706A019F009D98 /* MCActivityButton-prefix.pch */, 158 | 1E73719CBD12DDD87273CD4B5518340F /* MCActivityButton.debug.xcconfig */, 159 | 2FE3A9FD19D82FCC085840214CC7D437 /* MCActivityButton.release.xcconfig */, 160 | E98BBB385B9492264D0A4AA0162D8322 /* ResourceBundle-MCActivityButton-MCActivityButton-Info.plist */, 161 | ); 162 | name = "Support Files"; 163 | path = "Example/Pods/Target Support Files/MCActivityButton"; 164 | sourceTree = ""; 165 | }; 166 | 936E1CBFA26769ABAA509DC020A0D5A3 /* Pods-MCActivityButton */ = { 167 | isa = PBXGroup; 168 | children = ( 169 | 2C4BB702C211C3823756DC43925F6339 /* Pods-MCActivityButton-acknowledgements.markdown */, 170 | F11CAFA106A988844B0C7798675FDB4A /* Pods-MCActivityButton-acknowledgements.plist */, 171 | 3A7F908E7F72C824E6232AC7C507ABE6 /* Pods-MCActivityButton-dummy.m */, 172 | D250B4485A7CA93138A83BA4A3E8E7ED /* Pods-MCActivityButton-resources.sh */, 173 | 55F6B0C58CB4A0A510B4E89F068FDF9F /* Pods-MCActivityButton.debug.xcconfig */, 174 | 43307C1E9E4B10AB27E3A9DF9CA19940 /* Pods-MCActivityButton.release.xcconfig */, 175 | ); 176 | name = "Pods-MCActivityButton"; 177 | path = "Target Support Files/Pods-MCActivityButton"; 178 | sourceTree = ""; 179 | }; 180 | CF1408CF629C7361332E53B88F7BD30C = { 181 | isa = PBXGroup; 182 | children = ( 183 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 184 | 1B25AA7AE3501ABB5E2CFDA543A5C04A /* Development Pods */, 185 | D89477F20FB1DE18A04690586D7808C4 /* Frameworks */, 186 | 304D267C65905FA1C88BA8AF0E46E635 /* Products */, 187 | 36935E107EC0FF71EEA1A4A2C41FFF1B /* Targets Support Files */, 188 | ); 189 | sourceTree = ""; 190 | }; 191 | D89477F20FB1DE18A04690586D7808C4 /* Frameworks */ = { 192 | isa = PBXGroup; 193 | children = ( 194 | ); 195 | name = Frameworks; 196 | sourceTree = ""; 197 | }; 198 | D8C3D4F0DDFD6543DEF7E532A279F71D /* Pods-Tests */ = { 199 | isa = PBXGroup; 200 | children = ( 201 | 1714233C14474315EA25A4C9012A890C /* Pods-Tests-acknowledgements.markdown */, 202 | 4F5E2AA552A6829035B4C29FD5CCDA95 /* Pods-Tests-acknowledgements.plist */, 203 | 339A7422175D12AB337AF12829BD709B /* Pods-Tests-dummy.m */, 204 | A7079F1623A7E63E20C2C8858A6AC2B9 /* Pods-Tests-resources.sh */, 205 | B6057BD33FC08927FF57922155465D86 /* Pods-Tests.debug.xcconfig */, 206 | AF4B82C7ACE8B05C466C3E282D0689AF /* Pods-Tests.release.xcconfig */, 207 | ); 208 | name = "Pods-Tests"; 209 | path = "Target Support Files/Pods-Tests"; 210 | sourceTree = ""; 211 | }; 212 | /* End PBXGroup section */ 213 | 214 | /* Begin PBXHeadersBuildPhase section */ 215 | 243CC968E70F3A5A25019C838E1479C3 /* Headers */ = { 216 | isa = PBXHeadersBuildPhase; 217 | buildActionMask = 2147483647; 218 | files = ( 219 | 6F4A08ABAF87219D586367081D621991 /* MCActivityButton.h in Headers */, 220 | ); 221 | runOnlyForDeploymentPostprocessing = 0; 222 | }; 223 | 638AA940C55058120DF3F769E90ABD1E /* Headers */ = { 224 | isa = PBXHeadersBuildPhase; 225 | buildActionMask = 2147483647; 226 | files = ( 227 | ); 228 | runOnlyForDeploymentPostprocessing = 0; 229 | }; 230 | A9747A7B12213D8BBF459C76607FCCEE /* Headers */ = { 231 | isa = PBXHeadersBuildPhase; 232 | buildActionMask = 2147483647; 233 | files = ( 234 | ); 235 | runOnlyForDeploymentPostprocessing = 0; 236 | }; 237 | /* End PBXHeadersBuildPhase section */ 238 | 239 | /* Begin PBXNativeTarget section */ 240 | 81A3D4DE65432DFCEEFEB916B50F77DD /* Pods-MCActivityButton */ = { 241 | isa = PBXNativeTarget; 242 | buildConfigurationList = 92325A278D3E09A1183A01AE708C306D /* Build configuration list for PBXNativeTarget "Pods-MCActivityButton" */; 243 | buildPhases = ( 244 | 638AA940C55058120DF3F769E90ABD1E /* Headers */, 245 | BF7CE49117E26B01D64249B5896BD284 /* Sources */, 246 | 27944B8D9E6AAE86D71187E094A1D595 /* Frameworks */, 247 | ); 248 | buildRules = ( 249 | ); 250 | dependencies = ( 251 | 877CFBE1A0AD5908B5A7D8FDE3A400B4 /* PBXTargetDependency */, 252 | ); 253 | name = "Pods-MCActivityButton"; 254 | productName = "Pods-MCActivityButton"; 255 | productReference = A1263234AA4A550B5BF4A2B6BD729766 /* Pods-MCActivityButton */; 256 | productType = "com.apple.product-type.library.static"; 257 | }; 258 | 958186CF7D75761173A23E66E0CCAF14 /* Pods-Tests */ = { 259 | isa = PBXNativeTarget; 260 | buildConfigurationList = 07D3BB17445D6996AD65E1F08DDD3F23 /* Build configuration list for PBXNativeTarget "Pods-Tests" */; 261 | buildPhases = ( 262 | A9747A7B12213D8BBF459C76607FCCEE /* Headers */, 263 | DFCB184467A1169F7DBD58406072DEBA /* Sources */, 264 | 28A10B7E62D75B1CF22BC1E9DE8B3A8E /* Frameworks */, 265 | ); 266 | buildRules = ( 267 | ); 268 | dependencies = ( 269 | 553BE2ABED13F9D7B9E9375C4559D45F /* PBXTargetDependency */, 270 | ); 271 | name = "Pods-Tests"; 272 | productName = "Pods-Tests"; 273 | productReference = FC95D668E217CFBB25845AA15162348B /* Pods-Tests */; 274 | productType = "com.apple.product-type.library.static"; 275 | }; 276 | CEFCBF6EA78408DB95B2F0CA0E1DA54B /* MCActivityButton */ = { 277 | isa = PBXNativeTarget; 278 | buildConfigurationList = 5FF5CA53E0FAEA6EF09D8CB0A4A54B13 /* Build configuration list for PBXNativeTarget "MCActivityButton" */; 279 | buildPhases = ( 280 | 243CC968E70F3A5A25019C838E1479C3 /* Headers */, 281 | A02099CD3171D27E4CB44432CED4FFE2 /* Sources */, 282 | 1E710D03360572C9325C349825CCDAD2 /* Frameworks */, 283 | ); 284 | buildRules = ( 285 | ); 286 | dependencies = ( 287 | BA1069B60D0123E925B8F48BBB934AC5 /* PBXTargetDependency */, 288 | ); 289 | name = MCActivityButton; 290 | productName = MCActivityButton; 291 | productReference = 434147598FA8ADC7F1D6D30C2D898247 /* MCActivityButton */; 292 | productType = "com.apple.product-type.library.static"; 293 | }; 294 | DA605978F559606B8277C0F2A5E665DF /* MCActivityButton-MCActivityButton */ = { 295 | isa = PBXNativeTarget; 296 | buildConfigurationList = 7077B0B1729570E8166CCBCC988A5B95 /* Build configuration list for PBXNativeTarget "MCActivityButton-MCActivityButton" */; 297 | buildPhases = ( 298 | CDFE5150A076C79E75AAB30CEC2EAAD0 /* Sources */, 299 | FDBBF5EC647080FD270C88185B651BB5 /* Frameworks */, 300 | 514000C9011A76FE8D799CDC51715FF0 /* Resources */, 301 | ); 302 | buildRules = ( 303 | ); 304 | dependencies = ( 305 | ); 306 | name = "MCActivityButton-MCActivityButton"; 307 | productName = MCActivityButton; 308 | productReference = A403D8375BEE459B699AB28E57E8CE95 /* MCActivityButton-MCActivityButton */; 309 | productType = "com.apple.product-type.bundle"; 310 | }; 311 | /* End PBXNativeTarget section */ 312 | 313 | /* Begin PBXProject section */ 314 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 315 | isa = PBXProject; 316 | attributes = { 317 | LastSwiftUpdateCheck = 1500; 318 | LastUpgradeCheck = 1500; 319 | }; 320 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 321 | compatibilityVersion = "Xcode 3.2"; 322 | developmentRegion = en; 323 | hasScannedForEncodings = 0; 324 | knownRegions = ( 325 | Base, 326 | en, 327 | ); 328 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 329 | productRefGroup = 304D267C65905FA1C88BA8AF0E46E635 /* Products */; 330 | projectDirPath = ""; 331 | projectRoot = ""; 332 | targets = ( 333 | CEFCBF6EA78408DB95B2F0CA0E1DA54B /* MCActivityButton */, 334 | DA605978F559606B8277C0F2A5E665DF /* MCActivityButton-MCActivityButton */, 335 | 81A3D4DE65432DFCEEFEB916B50F77DD /* Pods-MCActivityButton */, 336 | 958186CF7D75761173A23E66E0CCAF14 /* Pods-Tests */, 337 | ); 338 | }; 339 | /* End PBXProject section */ 340 | 341 | /* Begin PBXResourcesBuildPhase section */ 342 | 514000C9011A76FE8D799CDC51715FF0 /* Resources */ = { 343 | isa = PBXResourcesBuildPhase; 344 | buildActionMask = 2147483647; 345 | files = ( 346 | ); 347 | runOnlyForDeploymentPostprocessing = 0; 348 | }; 349 | /* End PBXResourcesBuildPhase section */ 350 | 351 | /* Begin PBXSourcesBuildPhase section */ 352 | A02099CD3171D27E4CB44432CED4FFE2 /* Sources */ = { 353 | isa = PBXSourcesBuildPhase; 354 | buildActionMask = 2147483647; 355 | files = ( 356 | 63983E99941285F827D40C4379024922 /* MCActivityButton.m in Sources */, 357 | 8C7389C898F7002BC2E2369439A46322 /* MCActivityButton-dummy.m in Sources */, 358 | ); 359 | runOnlyForDeploymentPostprocessing = 0; 360 | }; 361 | BF7CE49117E26B01D64249B5896BD284 /* Sources */ = { 362 | isa = PBXSourcesBuildPhase; 363 | buildActionMask = 2147483647; 364 | files = ( 365 | C3BDC189E74F384D4669833AD9685DA7 /* Pods-MCActivityButton-dummy.m in Sources */, 366 | ); 367 | runOnlyForDeploymentPostprocessing = 0; 368 | }; 369 | CDFE5150A076C79E75AAB30CEC2EAAD0 /* Sources */ = { 370 | isa = PBXSourcesBuildPhase; 371 | buildActionMask = 2147483647; 372 | files = ( 373 | ); 374 | runOnlyForDeploymentPostprocessing = 0; 375 | }; 376 | DFCB184467A1169F7DBD58406072DEBA /* Sources */ = { 377 | isa = PBXSourcesBuildPhase; 378 | buildActionMask = 2147483647; 379 | files = ( 380 | AC821241D3F987DCAF7D096F2B064B68 /* Pods-Tests-dummy.m in Sources */, 381 | ); 382 | runOnlyForDeploymentPostprocessing = 0; 383 | }; 384 | /* End PBXSourcesBuildPhase section */ 385 | 386 | /* Begin PBXTargetDependency section */ 387 | 553BE2ABED13F9D7B9E9375C4559D45F /* PBXTargetDependency */ = { 388 | isa = PBXTargetDependency; 389 | name = MCActivityButton; 390 | target = CEFCBF6EA78408DB95B2F0CA0E1DA54B /* MCActivityButton */; 391 | targetProxy = 0F5A324AE1375AB7CA5E6DE7E8579CB8 /* PBXContainerItemProxy */; 392 | }; 393 | 877CFBE1A0AD5908B5A7D8FDE3A400B4 /* PBXTargetDependency */ = { 394 | isa = PBXTargetDependency; 395 | name = MCActivityButton; 396 | target = CEFCBF6EA78408DB95B2F0CA0E1DA54B /* MCActivityButton */; 397 | targetProxy = C8E2001933687B497B3966C5F3608CFA /* PBXContainerItemProxy */; 398 | }; 399 | BA1069B60D0123E925B8F48BBB934AC5 /* PBXTargetDependency */ = { 400 | isa = PBXTargetDependency; 401 | name = "MCActivityButton-MCActivityButton"; 402 | target = DA605978F559606B8277C0F2A5E665DF /* MCActivityButton-MCActivityButton */; 403 | targetProxy = 2160623865A6596C189ED7CF28574E44 /* PBXContainerItemProxy */; 404 | }; 405 | /* End PBXTargetDependency section */ 406 | 407 | /* Begin XCBuildConfiguration section */ 408 | 0B5430D3FC05308D130F2A187CB7BFFF /* Debug */ = { 409 | isa = XCBuildConfiguration; 410 | baseConfigurationReference = 1E73719CBD12DDD87273CD4B5518340F /* MCActivityButton.debug.xcconfig */; 411 | buildSettings = { 412 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 413 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 414 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 415 | GCC_PREFIX_HEADER = "Target Support Files/MCActivityButton/MCActivityButton-prefix.pch"; 416 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 417 | OTHER_LDFLAGS = ""; 418 | OTHER_LIBTOOLFLAGS = ""; 419 | PRIVATE_HEADERS_FOLDER_PATH = ""; 420 | PRODUCT_MODULE_NAME = MCActivityButton; 421 | PRODUCT_NAME = MCActivityButton; 422 | PUBLIC_HEADERS_FOLDER_PATH = ""; 423 | SDKROOT = iphoneos; 424 | SKIP_INSTALL = YES; 425 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 426 | TARGETED_DEVICE_FAMILY = "1,2"; 427 | }; 428 | name = Debug; 429 | }; 430 | 0D33E492D2379F36EED3247FFAA251AB /* Release */ = { 431 | isa = XCBuildConfiguration; 432 | baseConfigurationReference = 2FE3A9FD19D82FCC085840214CC7D437 /* MCActivityButton.release.xcconfig */; 433 | buildSettings = { 434 | CODE_SIGNING_ALLOWED = NO; 435 | CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/MCActivityButton"; 436 | IBSC_MODULE = MCActivityButton; 437 | INFOPLIST_FILE = "Target Support Files/MCActivityButton/ResourceBundle-MCActivityButton-MCActivityButton-Info.plist"; 438 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 439 | PRODUCT_NAME = MCActivityButton; 440 | SDKROOT = iphoneos; 441 | SKIP_INSTALL = YES; 442 | TARGETED_DEVICE_FAMILY = "1,2"; 443 | WRAPPER_EXTENSION = bundle; 444 | }; 445 | name = Release; 446 | }; 447 | 425CB0AFB8F97100B5C8956DEF98B633 /* Debug */ = { 448 | isa = XCBuildConfiguration; 449 | baseConfigurationReference = B6057BD33FC08927FF57922155465D86 /* Pods-Tests.debug.xcconfig */; 450 | buildSettings = { 451 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 452 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 453 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 454 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 455 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 456 | MACH_O_TYPE = staticlib; 457 | OTHER_LDFLAGS = ""; 458 | OTHER_LIBTOOLFLAGS = ""; 459 | PODS_ROOT = "$(SRCROOT)"; 460 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 461 | SDKROOT = iphoneos; 462 | SKIP_INSTALL = YES; 463 | TARGETED_DEVICE_FAMILY = "1,2"; 464 | }; 465 | name = Debug; 466 | }; 467 | 43CA58A67BC979D6EB709A2D7D7B38F2 /* Release */ = { 468 | isa = XCBuildConfiguration; 469 | baseConfigurationReference = 2FE3A9FD19D82FCC085840214CC7D437 /* MCActivityButton.release.xcconfig */; 470 | buildSettings = { 471 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 472 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 473 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 474 | GCC_PREFIX_HEADER = "Target Support Files/MCActivityButton/MCActivityButton-prefix.pch"; 475 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 476 | OTHER_LDFLAGS = ""; 477 | OTHER_LIBTOOLFLAGS = ""; 478 | PRIVATE_HEADERS_FOLDER_PATH = ""; 479 | PRODUCT_MODULE_NAME = MCActivityButton; 480 | PRODUCT_NAME = MCActivityButton; 481 | PUBLIC_HEADERS_FOLDER_PATH = ""; 482 | SDKROOT = iphoneos; 483 | SKIP_INSTALL = YES; 484 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 485 | TARGETED_DEVICE_FAMILY = "1,2"; 486 | VALIDATE_PRODUCT = YES; 487 | }; 488 | name = Release; 489 | }; 490 | 65DB27ED69FFF945661681B460966A15 /* Release */ = { 491 | isa = XCBuildConfiguration; 492 | baseConfigurationReference = AF4B82C7ACE8B05C466C3E282D0689AF /* Pods-Tests.release.xcconfig */; 493 | buildSettings = { 494 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 495 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 496 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 497 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 498 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 499 | MACH_O_TYPE = staticlib; 500 | OTHER_LDFLAGS = ""; 501 | OTHER_LIBTOOLFLAGS = ""; 502 | PODS_ROOT = "$(SRCROOT)"; 503 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 504 | SDKROOT = iphoneos; 505 | SKIP_INSTALL = YES; 506 | TARGETED_DEVICE_FAMILY = "1,2"; 507 | VALIDATE_PRODUCT = YES; 508 | }; 509 | name = Release; 510 | }; 511 | 6D42DC62C4F2E194221DF89C48496C98 /* Release */ = { 512 | isa = XCBuildConfiguration; 513 | buildSettings = { 514 | ALWAYS_SEARCH_USER_PATHS = NO; 515 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 516 | CLANG_ANALYZER_NONNULL = YES; 517 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 518 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 519 | CLANG_CXX_LIBRARY = "libc++"; 520 | CLANG_ENABLE_MODULES = YES; 521 | CLANG_ENABLE_OBJC_ARC = YES; 522 | CLANG_ENABLE_OBJC_WEAK = YES; 523 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 524 | CLANG_WARN_BOOL_CONVERSION = YES; 525 | CLANG_WARN_COMMA = YES; 526 | CLANG_WARN_CONSTANT_CONVERSION = YES; 527 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 528 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 529 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 530 | CLANG_WARN_EMPTY_BODY = YES; 531 | CLANG_WARN_ENUM_CONVERSION = YES; 532 | CLANG_WARN_INFINITE_RECURSION = YES; 533 | CLANG_WARN_INT_CONVERSION = YES; 534 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 535 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 536 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 537 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 538 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 539 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 540 | CLANG_WARN_STRICT_PROTOTYPES = YES; 541 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 542 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 543 | CLANG_WARN_UNREACHABLE_CODE = YES; 544 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 545 | COPY_PHASE_STRIP = NO; 546 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 547 | ENABLE_NS_ASSERTIONS = NO; 548 | ENABLE_STRICT_OBJC_MSGSEND = YES; 549 | GCC_C_LANGUAGE_STANDARD = gnu11; 550 | GCC_NO_COMMON_BLOCKS = YES; 551 | GCC_PREPROCESSOR_DEFINITIONS = ( 552 | "POD_CONFIGURATION_RELEASE=1", 553 | "$(inherited)", 554 | ); 555 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 556 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 557 | GCC_WARN_UNDECLARED_SELECTOR = YES; 558 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 559 | GCC_WARN_UNUSED_FUNCTION = YES; 560 | GCC_WARN_UNUSED_VARIABLE = YES; 561 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 562 | MTL_ENABLE_DEBUG_INFO = NO; 563 | MTL_FAST_MATH = YES; 564 | PRODUCT_NAME = "$(TARGET_NAME)"; 565 | STRIP_INSTALLED_PRODUCT = NO; 566 | SWIFT_COMPILATION_MODE = wholemodule; 567 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 568 | SWIFT_VERSION = 5.0; 569 | SYMROOT = "${SRCROOT}/../build"; 570 | }; 571 | name = Release; 572 | }; 573 | A9E0EAB39303B079D6A4F631DB433491 /* Release */ = { 574 | isa = XCBuildConfiguration; 575 | baseConfigurationReference = 43307C1E9E4B10AB27E3A9DF9CA19940 /* Pods-MCActivityButton.release.xcconfig */; 576 | buildSettings = { 577 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 578 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 579 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 580 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 581 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 582 | MACH_O_TYPE = staticlib; 583 | OTHER_LDFLAGS = ""; 584 | OTHER_LIBTOOLFLAGS = ""; 585 | PODS_ROOT = "$(SRCROOT)"; 586 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 587 | SDKROOT = iphoneos; 588 | SKIP_INSTALL = YES; 589 | TARGETED_DEVICE_FAMILY = "1,2"; 590 | VALIDATE_PRODUCT = YES; 591 | }; 592 | name = Release; 593 | }; 594 | B3F5AA3FC1244B3C3EA29C7DFC8A46CE /* Debug */ = { 595 | isa = XCBuildConfiguration; 596 | baseConfigurationReference = 55F6B0C58CB4A0A510B4E89F068FDF9F /* Pods-MCActivityButton.debug.xcconfig */; 597 | buildSettings = { 598 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 599 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 600 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 601 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 602 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 603 | MACH_O_TYPE = staticlib; 604 | OTHER_LDFLAGS = ""; 605 | OTHER_LIBTOOLFLAGS = ""; 606 | PODS_ROOT = "$(SRCROOT)"; 607 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 608 | SDKROOT = iphoneos; 609 | SKIP_INSTALL = YES; 610 | TARGETED_DEVICE_FAMILY = "1,2"; 611 | }; 612 | name = Debug; 613 | }; 614 | C0F7196D4BC2F22FD5A10FFA81504390 /* Debug */ = { 615 | isa = XCBuildConfiguration; 616 | baseConfigurationReference = 1E73719CBD12DDD87273CD4B5518340F /* MCActivityButton.debug.xcconfig */; 617 | buildSettings = { 618 | CODE_SIGNING_ALLOWED = NO; 619 | CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/MCActivityButton"; 620 | IBSC_MODULE = MCActivityButton; 621 | INFOPLIST_FILE = "Target Support Files/MCActivityButton/ResourceBundle-MCActivityButton-MCActivityButton-Info.plist"; 622 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 623 | PRODUCT_NAME = MCActivityButton; 624 | SDKROOT = iphoneos; 625 | SKIP_INSTALL = YES; 626 | TARGETED_DEVICE_FAMILY = "1,2"; 627 | WRAPPER_EXTENSION = bundle; 628 | }; 629 | name = Debug; 630 | }; 631 | E4D0D44B090D4284607EBBC4E71A96C1 /* Debug */ = { 632 | isa = XCBuildConfiguration; 633 | buildSettings = { 634 | ALWAYS_SEARCH_USER_PATHS = NO; 635 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 636 | CLANG_ANALYZER_NONNULL = YES; 637 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 638 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 639 | CLANG_CXX_LIBRARY = "libc++"; 640 | CLANG_ENABLE_MODULES = YES; 641 | CLANG_ENABLE_OBJC_ARC = YES; 642 | CLANG_ENABLE_OBJC_WEAK = YES; 643 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 644 | CLANG_WARN_BOOL_CONVERSION = YES; 645 | CLANG_WARN_COMMA = YES; 646 | CLANG_WARN_CONSTANT_CONVERSION = YES; 647 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 648 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 649 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 650 | CLANG_WARN_EMPTY_BODY = YES; 651 | CLANG_WARN_ENUM_CONVERSION = YES; 652 | CLANG_WARN_INFINITE_RECURSION = YES; 653 | CLANG_WARN_INT_CONVERSION = YES; 654 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 655 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 656 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 657 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 658 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 659 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 660 | CLANG_WARN_STRICT_PROTOTYPES = YES; 661 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 662 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 663 | CLANG_WARN_UNREACHABLE_CODE = YES; 664 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 665 | COPY_PHASE_STRIP = NO; 666 | DEBUG_INFORMATION_FORMAT = dwarf; 667 | ENABLE_STRICT_OBJC_MSGSEND = YES; 668 | ENABLE_TESTABILITY = YES; 669 | GCC_C_LANGUAGE_STANDARD = gnu11; 670 | GCC_DYNAMIC_NO_PIC = NO; 671 | GCC_NO_COMMON_BLOCKS = YES; 672 | GCC_OPTIMIZATION_LEVEL = 0; 673 | GCC_PREPROCESSOR_DEFINITIONS = ( 674 | "POD_CONFIGURATION_DEBUG=1", 675 | "DEBUG=1", 676 | "$(inherited)", 677 | ); 678 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 679 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 680 | GCC_WARN_UNDECLARED_SELECTOR = YES; 681 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 682 | GCC_WARN_UNUSED_FUNCTION = YES; 683 | GCC_WARN_UNUSED_VARIABLE = YES; 684 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 685 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 686 | MTL_FAST_MATH = YES; 687 | ONLY_ACTIVE_ARCH = YES; 688 | PRODUCT_NAME = "$(TARGET_NAME)"; 689 | STRIP_INSTALLED_PRODUCT = NO; 690 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 691 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 692 | SWIFT_VERSION = 5.0; 693 | SYMROOT = "${SRCROOT}/../build"; 694 | }; 695 | name = Debug; 696 | }; 697 | /* End XCBuildConfiguration section */ 698 | 699 | /* Begin XCConfigurationList section */ 700 | 07D3BB17445D6996AD65E1F08DDD3F23 /* Build configuration list for PBXNativeTarget "Pods-Tests" */ = { 701 | isa = XCConfigurationList; 702 | buildConfigurations = ( 703 | 425CB0AFB8F97100B5C8956DEF98B633 /* Debug */, 704 | 65DB27ED69FFF945661681B460966A15 /* Release */, 705 | ); 706 | defaultConfigurationIsVisible = 0; 707 | defaultConfigurationName = Release; 708 | }; 709 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 710 | isa = XCConfigurationList; 711 | buildConfigurations = ( 712 | E4D0D44B090D4284607EBBC4E71A96C1 /* Debug */, 713 | 6D42DC62C4F2E194221DF89C48496C98 /* Release */, 714 | ); 715 | defaultConfigurationIsVisible = 0; 716 | defaultConfigurationName = Release; 717 | }; 718 | 5FF5CA53E0FAEA6EF09D8CB0A4A54B13 /* Build configuration list for PBXNativeTarget "MCActivityButton" */ = { 719 | isa = XCConfigurationList; 720 | buildConfigurations = ( 721 | 0B5430D3FC05308D130F2A187CB7BFFF /* Debug */, 722 | 43CA58A67BC979D6EB709A2D7D7B38F2 /* Release */, 723 | ); 724 | defaultConfigurationIsVisible = 0; 725 | defaultConfigurationName = Release; 726 | }; 727 | 7077B0B1729570E8166CCBCC988A5B95 /* Build configuration list for PBXNativeTarget "MCActivityButton-MCActivityButton" */ = { 728 | isa = XCConfigurationList; 729 | buildConfigurations = ( 730 | C0F7196D4BC2F22FD5A10FFA81504390 /* Debug */, 731 | 0D33E492D2379F36EED3247FFAA251AB /* Release */, 732 | ); 733 | defaultConfigurationIsVisible = 0; 734 | defaultConfigurationName = Release; 735 | }; 736 | 92325A278D3E09A1183A01AE708C306D /* Build configuration list for PBXNativeTarget "Pods-MCActivityButton" */ = { 737 | isa = XCConfigurationList; 738 | buildConfigurations = ( 739 | B3F5AA3FC1244B3C3EA29C7DFC8A46CE /* Debug */, 740 | A9E0EAB39303B079D6A4F631DB433491 /* Release */, 741 | ); 742 | defaultConfigurationIsVisible = 0; 743 | defaultConfigurationName = Release; 744 | }; 745 | /* End XCConfigurationList section */ 746 | }; 747 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 748 | } 749 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MCActivityButton/Pods-MCActivityButton-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## MCActivityButton 5 | 6 | Copyright (c) 2015 Marcos Curvello 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 - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MCActivityButton/Pods-MCActivityButton-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) 2015 Marcos Curvello <mrcurvello@gmail.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 | License 38 | MIT 39 | Title 40 | MCActivityButton 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MCActivityButton/Pods-MCActivityButton-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_MCActivityButton : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_MCActivityButton 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MCActivityButton/Pods-MCActivityButton-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then 12 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # resources to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 18 | 19 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 20 | > "$RESOURCES_TO_COPY" 21 | 22 | XCASSET_FILES=() 23 | 24 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 25 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 26 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 27 | 28 | case "${TARGETED_DEVICE_FAMILY:-}" in 29 | 1,2) 30 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 31 | ;; 32 | 1) 33 | TARGET_DEVICE_ARGS="--target-device iphone" 34 | ;; 35 | 2) 36 | TARGET_DEVICE_ARGS="--target-device ipad" 37 | ;; 38 | 3) 39 | TARGET_DEVICE_ARGS="--target-device tv" 40 | ;; 41 | 4) 42 | TARGET_DEVICE_ARGS="--target-device watch" 43 | ;; 44 | *) 45 | TARGET_DEVICE_ARGS="--target-device mac" 46 | ;; 47 | esac 48 | 49 | install_resource() 50 | { 51 | if [[ "$1" = /* ]] ; then 52 | RESOURCE_PATH="$1" 53 | else 54 | RESOURCE_PATH="${PODS_ROOT}/$1" 55 | fi 56 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 57 | cat << EOM 58 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 59 | EOM 60 | exit 1 61 | fi 62 | case $RESOURCE_PATH in 63 | *.storyboard) 64 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 65 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 66 | ;; 67 | *.xib) 68 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 69 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 70 | ;; 71 | *.framework) 72 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 73 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 74 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 75 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 76 | ;; 77 | *.xcdatamodel) 78 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 79 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 80 | ;; 81 | *.xcdatamodeld) 82 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 83 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 84 | ;; 85 | *.xcmappingmodel) 86 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 87 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 88 | ;; 89 | *.xcassets) 90 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 91 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 92 | ;; 93 | *) 94 | echo "$RESOURCE_PATH" || true 95 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 96 | ;; 97 | esac 98 | } 99 | if [[ "$CONFIGURATION" == "Debug" ]]; then 100 | install_resource "${PODS_CONFIGURATION_BUILD_DIR}/MCActivityButton/MCActivityButton.bundle" 101 | fi 102 | if [[ "$CONFIGURATION" == "Release" ]]; then 103 | install_resource "${PODS_CONFIGURATION_BUILD_DIR}/MCActivityButton/MCActivityButton.bundle" 104 | fi 105 | 106 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 107 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 108 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 109 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 110 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 111 | fi 112 | rm -f "$RESOURCES_TO_COPY" 113 | 114 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] 115 | then 116 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 117 | OTHER_XCASSETS=$(find -L "$PWD" -iname "*.xcassets" -type d) 118 | while read line; do 119 | if [[ $line != "${PODS_ROOT}*" ]]; then 120 | XCASSET_FILES+=("$line") 121 | fi 122 | done <<<"$OTHER_XCASSETS" 123 | 124 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then 125 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 126 | else 127 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" 128 | fi 129 | fi 130 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MCActivityButton/Pods-MCActivityButton.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/MCActivityButton" 4 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/MCActivityButton" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -l"MCActivityButton" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MCActivityButton/Pods-MCActivityButton.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/MCActivityButton" 4 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/MCActivityButton" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -l"MCActivityButton" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /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 | ## MCActivityButton 5 | 6 | Copyright (c) 2015 Marcos Curvello 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 - https://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) 2015 Marcos Curvello <mrcurvello@gmail.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 | License 38 | MIT 39 | Title 40 | MCActivityButton 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /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 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then 12 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # resources to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 18 | 19 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 20 | > "$RESOURCES_TO_COPY" 21 | 22 | XCASSET_FILES=() 23 | 24 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 25 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 26 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 27 | 28 | case "${TARGETED_DEVICE_FAMILY:-}" in 29 | 1,2) 30 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 31 | ;; 32 | 1) 33 | TARGET_DEVICE_ARGS="--target-device iphone" 34 | ;; 35 | 2) 36 | TARGET_DEVICE_ARGS="--target-device ipad" 37 | ;; 38 | 3) 39 | TARGET_DEVICE_ARGS="--target-device tv" 40 | ;; 41 | 4) 42 | TARGET_DEVICE_ARGS="--target-device watch" 43 | ;; 44 | *) 45 | TARGET_DEVICE_ARGS="--target-device mac" 46 | ;; 47 | esac 48 | 49 | install_resource() 50 | { 51 | if [[ "$1" = /* ]] ; then 52 | RESOURCE_PATH="$1" 53 | else 54 | RESOURCE_PATH="${PODS_ROOT}/$1" 55 | fi 56 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 57 | cat << EOM 58 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 59 | EOM 60 | exit 1 61 | fi 62 | case $RESOURCE_PATH in 63 | *.storyboard) 64 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 65 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 66 | ;; 67 | *.xib) 68 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 69 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 70 | ;; 71 | *.framework) 72 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 73 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 74 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 75 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 76 | ;; 77 | *.xcdatamodel) 78 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 79 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 80 | ;; 81 | *.xcdatamodeld) 82 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 83 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 84 | ;; 85 | *.xcmappingmodel) 86 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 87 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 88 | ;; 89 | *.xcassets) 90 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 91 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 92 | ;; 93 | *) 94 | echo "$RESOURCE_PATH" || true 95 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 96 | ;; 97 | esac 98 | } 99 | if [[ "$CONFIGURATION" == "Debug" ]]; then 100 | install_resource "${PODS_CONFIGURATION_BUILD_DIR}/MCActivityButton/MCActivityButton.bundle" 101 | fi 102 | if [[ "$CONFIGURATION" == "Release" ]]; then 103 | install_resource "${PODS_CONFIGURATION_BUILD_DIR}/MCActivityButton/MCActivityButton.bundle" 104 | fi 105 | 106 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 107 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 108 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 109 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 110 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 111 | fi 112 | rm -f "$RESOURCES_TO_COPY" 113 | 114 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] 115 | then 116 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 117 | OTHER_XCASSETS=$(find -L "$PWD" -iname "*.xcassets" -type d) 118 | while read line; do 119 | if [[ $line != "${PODS_ROOT}*" ]]; then 120 | XCASSET_FILES+=("$line") 121 | fi 122 | done <<<"$OTHER_XCASSETS" 123 | 124 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then 125 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 126 | else 127 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" 128 | fi 129 | fi 130 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/MCActivityButton" 4 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/MCActivityButton" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -l"MCActivityButton" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/MCActivityButton" 4 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/MCActivityButton" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -l"MCActivityButton" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /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/Tests.m: -------------------------------------------------------------------------------- 1 | // 2 | // MCActivityButtonTests.m 3 | // MCActivityButtonTests 4 | // 5 | // Created by Marcos Curvello on 04/24/2015. 6 | // Copyright (c) 2014 Marcos Curvello. All rights reserved. 7 | // 8 | 9 | // SPEC_BEGIN(InitialTests) 10 | // 11 | //describe(@"My initial tests", ^{ 12 | // 13 | // context(@"will fail", ^{ 14 | // 15 | // it(@"can do maths", ^{ 16 | // [[@1 should] equal:@2]; 17 | // }); 18 | // 19 | // it(@"can read", ^{ 20 | // [[@"number" should] equal:@"string"]; 21 | // }); 22 | // 23 | // it(@"will wait and fail", ^{ 24 | // NSObject *object = [[NSObject alloc] init]; 25 | // [[expectFutureValue(object) shouldEventually] receive:@selector(autoContentAccessingProxy)]; 26 | // }); 27 | // }); 28 | // 29 | // context(@"will pass", ^{ 30 | // 31 | // it(@"can do maths", ^{ 32 | // [[@1 should] beLessThan:@23]; 33 | // }); 34 | // 35 | // it(@"can read", ^{ 36 | // [[@"team" shouldNot] containString:@"I"]; 37 | // }); 38 | // }); 39 | // 40 | //}); 41 | // 42 | // SPEC_END 43 | -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 Marcos Curvello 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 | -------------------------------------------------------------------------------- /MCActivityButton.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint MCActivityButton.podspec' to ensure this is a 3 | # valid spec and remove all comments before submitting the spec. 4 | # 5 | # Any lines starting with a # are optional, but encouraged 6 | # 7 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 8 | # 9 | 10 | Pod::Spec.new do |s| 11 | s.name = "MCActivityButton" 12 | s.version = "0.2.1" 13 | s.summary = "UIButton subclass that animates a custom message with an activity indicator." 14 | s.description = <<-DESC 15 | `MCActivityButton` is an objective-c `UIButton` subclass that animates a standard iOS activity indicator with a custom title when tapped.' 16 | 17 | * Markdown format. 18 | * Don't worry about the indent, we strip it! 19 | DESC 20 | s.homepage = "https://github.com/marcoscurvello/MCActivityButton" 21 | s.screenshots = "https://raw.githubusercontent.com/marcoscurvello/MCActivityButton/master/Screenshots/screenshot0.png", "https://raw.githubusercontent.com/marcoscurvello/MCActivityButton/master/Screenshots/screenshot1.png" 22 | s.license = 'MIT' 23 | s.author = { "Marcos Curvello" => "mrcurvello@gmail.com" } 24 | s.source = { :git => "https://github.com/marcoscurvello/MCActivityButton.git", :tag => s.version.to_s } 25 | s.social_media_url = 'https://twitter.com/mrcurvello' 26 | 27 | s.platform = :ios, '7.0' 28 | s.requires_arc = true 29 | 30 | s.source_files = 'Pod/Classes/**/*' 31 | s.resource_bundles = { 32 | 'MCActivityButton' => ['Pod/Assets/*.png'] 33 | } 34 | 35 | # s.public_header_files = 'MCActivityButton.h,m' 36 | # s.frameworks = 'UIKit', 'MapKit' 37 | # s.dependency 'AFNetworking', '~> 2.3' 38 | end 39 | -------------------------------------------------------------------------------- /Pod/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoscurvello/MCActivityButton/bcb6f866d2faa020cbd59e03be65f79b938c295d/Pod/Assets/.gitkeep -------------------------------------------------------------------------------- /Pod/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoscurvello/MCActivityButton/bcb6f866d2faa020cbd59e03be65f79b938c295d/Pod/Classes/.gitkeep -------------------------------------------------------------------------------- /Pod/Classes/MCActivityButton.h: -------------------------------------------------------------------------------- 1 | // 2 | // MCActivityButton.h 3 | // Pods 4 | // 5 | // Created by Marcos Curvello on 4/24/15. 6 | // 7 | // 8 | 9 | #import 10 | 11 | typedef NS_ENUM(NSInteger, MCActivityButtonStyle) { 12 | MCActivityButtonStyleDefault, 13 | MCActivityButtonStyleIncrease, 14 | MCActivityButtonStyleDecrease 15 | }; 16 | 17 | @interface MCActivityButton : UIButton 18 | 19 | /** 20 | * Activity Indicator View 21 | */ 22 | @property (nonatomic, strong) UIActivityIndicatorView *activityIndicator; 23 | 24 | /** 25 | * Defines Different Animation Styles for MCActivityButton 26 | */ 27 | @property (nonatomic, readwrite) MCActivityButtonStyle style; 28 | 29 | /** 30 | * Margin Between Button Title and Activity Indicator 31 | */ 32 | @property (nonatomic, readwrite) CGFloat activityIndicatorMargin; 33 | 34 | /** 35 | * MCActivityButton initial frame 36 | */ 37 | @property (nonatomic, readwrite) CGRect initialFrame; 38 | 39 | /** 40 | * MCActivityButton animate to frame 41 | */ 42 | @property (nonatomic, readwrite) CGRect activityFrame; 43 | 44 | /** 45 | * Activity Indicator color 46 | */ 47 | @property (nonatomic, strong) UIColor *activityIndicatorColor UI_APPEARANCE_SELECTOR; 48 | 49 | /** 50 | * Initial Button Title 51 | */ 52 | @property (nonatomic, strong) NSString *initialTitle; 53 | 54 | /** 55 | * Animate to Button Title 56 | */ 57 | @property (nonatomic, strong) NSString *activityTitle; 58 | 59 | /** 60 | * Track button animation status 61 | */ 62 | @property (nonatomic) BOOL isAnimating; 63 | 64 | /** 65 | * Locks subsequent button clicks 66 | */ 67 | @property (nonatomic) BOOL lockTaps; 68 | 69 | /** 70 | * Activity Indicator size 71 | */ 72 | @property float activityIndicatorScale; 73 | 74 | /** 75 | * Duration for button title switch 76 | */ 77 | @property float buttonAnimationDuration; 78 | 79 | /** 80 | * Initializer 81 | * 82 | * @param frame MCActivityButton frame 83 | * 84 | * @return MCActivityButton instance 85 | */ 86 | - (instancetype)initWithFrame:(CGRect)frame; 87 | 88 | /** 89 | * 90 | * TO DO implement new button styles 91 | */ 92 | //- (instancetype)initWithFrame:(CGRect)frame buttonStyle:(MCActivityButtonStyle)style; 93 | 94 | /** 95 | * Revert button to initial state 96 | */ 97 | - (void)stopAnimating; 98 | 99 | 100 | 101 | @end 102 | -------------------------------------------------------------------------------- /Pod/Classes/MCActivityButton.m: -------------------------------------------------------------------------------- 1 | // 2 | // MCActivityButton.m 3 | // Pods 4 | // 5 | // Created by Marcos Curvello on 4/24/15. 6 | // 7 | // 8 | 9 | #define defaultActivityMargin 10 10 | #define animationDuration 0.3 11 | 12 | #import "MCActivityButton.h" 13 | 14 | @implementation MCActivityButton 15 | 16 | @synthesize lockTaps = _lockTaps; 17 | @synthesize isAnimating = _isAnimating; 18 | @synthesize initialFrame = _initialFrame; 19 | @synthesize activityFrame = _activityFrame; 20 | @synthesize initialTitle = _initialTitle; 21 | @synthesize activityTitle = _activityTitle; 22 | @synthesize activityIndicator = _activityIndicator; 23 | @synthesize activityIndicatorScale = _activityIndicatorScale; 24 | @synthesize activityIndicatorMargin = _activityIndicatorMargin; 25 | @synthesize buttonAnimationDuration = _buttonAnimationDuration; 26 | 27 | 28 | #pragma mark - Initializer 29 | 30 | - (instancetype)initWithFrame:(CGRect)frame { 31 | 32 | return [self initWithFrame:frame buttonStyle:MCActivityButtonStyleDefault]; 33 | } 34 | 35 | - (instancetype)initWithFrame:(CGRect)frame buttonStyle:(MCActivityButtonStyle)style { 36 | 37 | if (self = [super initWithFrame:frame]) { 38 | 39 | _style = style; 40 | _isAnimating = NO; 41 | _initialFrame = frame; 42 | _activityFrame = CGRectMake(self.initialFrame.origin.x, self.initialFrame.origin.y, self.initialFrame.size.width + 60, self.initialFrame.size.height); 43 | 44 | } 45 | 46 | return self; 47 | } 48 | 49 | #pragma mark - Setters 50 | 51 | - (void)setInitialTitle:(NSString *)initialTitle { 52 | 53 | _initialTitle = initialTitle; 54 | [self setTitle:self.initialTitle forState:UIControlStateNormal]; 55 | } 56 | 57 | - (void)setActivityTitle:(NSString *)activityTitle { 58 | 59 | _activityTitle = activityTitle; 60 | } 61 | 62 | - (void)setTitle:(NSString *)title forState:(UIControlState)state { 63 | 64 | [super setTitle:title forState:state]; 65 | 66 | } 67 | 68 | - (void)setHighlighted:(BOOL)highlighted { 69 | 70 | [super setHighlighted:highlighted]; 71 | 72 | if (highlighted) { 73 | if (!self.isAnimating) { 74 | 75 | [self startAnimating]; 76 | } 77 | else { 78 | if (!self.lockTaps) { 79 | [self stopAnimating]; 80 | } 81 | 82 | } 83 | } 84 | 85 | } 86 | 87 | - (void)startAnimating { 88 | 89 | [UIView beginAnimations:@"fadeOutText" context:NULL]; 90 | [UIView setAnimationDuration:self.buttonAnimationDuration]; 91 | self.titleLabel.alpha = 0.0f; 92 | self.activityIndicator.alpha = 0.0f; 93 | [UIView commitAnimations]; 94 | [NSTimer scheduledTimerWithTimeInterval:self.buttonAnimationDuration 95 | target:self 96 | selector:@selector(animateButton) 97 | userInfo:nil 98 | repeats:NO]; 99 | } 100 | 101 | - (void)stopAnimating { 102 | 103 | [self startAnimating]; 104 | } 105 | 106 | - (void)animateButton { 107 | 108 | if (!self.isAnimating) { 109 | 110 | [self setTitle:self.activityTitle forState:UIControlStateNormal]; 111 | [self setTitleEdgeInsets:UIEdgeInsetsMake(0.0f, 20.0f, 0.0f, 0.0f)]; 112 | } 113 | else { 114 | [self setTitle:self.initialTitle forState:UIControlStateNormal]; 115 | [self setTitleEdgeInsets:UIEdgeInsetsZero]; 116 | } 117 | 118 | [self setNeedsLayout]; 119 | [self layoutIfNeeded]; 120 | 121 | if (!_activityIndicator) { 122 | 123 | _activityIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhite]; 124 | _activityIndicator.frame = CGRectMake(self.titleLabel.frame.origin.x - self.activityIndicatorMargin, self.titleLabel.frame.origin.y, self.titleLabel.frame.size.height, self.titleLabel.frame.size.height); 125 | _activityIndicator.hidesWhenStopped = YES; 126 | _activityIndicator.transform = CGAffineTransformMakeScale(self.activityIndicatorScale, self.activityIndicatorScale); 127 | _activityIndicator.color = self.activityIndicatorColor; 128 | 129 | [self addSubview:_activityIndicator]; 130 | 131 | } 132 | 133 | [NSTimer scheduledTimerWithTimeInterval:0 target:self selector:@selector(showText) userInfo:nil repeats:NO]; 134 | } 135 | 136 | - (void)showText { 137 | 138 | [UIView beginAnimations:@"transformButton" context:NULL]; 139 | [UIView setAnimationDuration:self.buttonAnimationDuration]; 140 | 141 | if (!self.isAnimating) { 142 | 143 | self.isAnimating = YES; 144 | self.frame = self.activityFrame; 145 | self.titleLabel.alpha = 1.0f; 146 | self.activityIndicator.alpha = 1.0f; 147 | [self.activityIndicator startAnimating]; 148 | } 149 | else { 150 | 151 | self.isAnimating = NO; 152 | self.frame = self.initialFrame; 153 | self.titleLabel.alpha = 1.0f; 154 | self.activityIndicator.alpha = 0.0f; 155 | [self.activityIndicator stopAnimating]; 156 | } 157 | 158 | [UIView commitAnimations]; 159 | } 160 | 161 | @end 162 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MCActivityButton 2 | 3 | [![CI Status](http://img.shields.io/travis/marcoscurvello/MCActivityButton.svg?style=flat)](https://travis-ci.org/marcoscurvello/MCActivityButton) 4 | [![Version](https://img.shields.io/cocoapods/v/MCActivityButton.svg?style=flat)](http://cocoapods.org/pods/MCActivityButton) 5 | [![license MIT](http://img.shields.io/badge/license-MIT-orange.png)][mitLink] 6 | 7 | `MCActivityButton` is an objective-c `UIButton` subclass that animates a standard iOS activity indicator with a custom title when tapped. 8 | 9 | This is currently a work in progress and has not been thoroughly tested. Use at your own risk. 10 | 11 | ![Demo][demo] 12 | 13 | 14 | ## Requirements 15 | * ARC 16 | 17 | ## Installation 18 | 19 | [CocoaPods](http://cocoapods.org) 20 | 21 | #### Podfile 22 | ```ruby 23 | pod "MCActivityButton" 24 | ``` 25 | 26 | ## Usage 27 | 28 | ```objc 29 | #import 30 | ``` 31 | 32 | Create a `MCActivityButton` object and customize it. 33 | 34 | ```objc 35 | MCActivityButton *button = [MCActivityButton alloc] initWithFrame:CGRectMake()]; 36 | 37 | ``` 38 | 39 | Once you have your button object customize it like so: 40 | 41 | ```objc 42 | // Default UIButton customization 43 | [button setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; 44 | button.titleLabel.font = [UIFont fontWithName:@"HelveticaNeue" size:14]; 45 | button.backgroundColor = [UIColor colorWithRed:0.000 green:0.294 blue:0.624 alpha:1.000]; 46 | 47 | // Initial and Action Button Title 48 | button.initialTitle = @"Login"; 49 | button.activityTitle = @"Logging in..."; 50 | 51 | // Locks Subsequent Button Clicks 52 | button.lockTaps = YES; 53 | 54 | // Button title animation duration 55 | button.buttonAnimationDuration = 0.5; 56 | 57 | // Optional Rounded Edges 58 | button.layer.cornerRadius = 5; 59 | button.clipsToBounds = YES; 60 | 61 | // Customize Activity Indicator 62 | button.activityIndicatorColor = [UIColor whiteColor]; 63 | button.activityIndicatorMargin = 6; 64 | button.activityIndicatorScale = 0.8; 65 | 66 | // Then Add Your Button to the view 67 | [self.view addSubview:button]; 68 | 69 | // Force button to return to it's initial state 70 | [button stopAnimating]; 71 | 72 | ``` 73 | 74 | ## To-do's 75 | 76 | * Fully implement view tests. 77 | * Dynamic frame calculations. 78 | * Different animation styles. 79 | * Different activity indicator styles. 80 | * Background and title color change. 81 | * Swift version is underway, with all the above mentioned to-do's. 82 | 83 | ## Author 84 | 85 | Marcos Curvello, mrcurvello@gmail.com 86 | 87 | ## License 88 | 89 | `MCActivityButton` is available under the [MIT License][mitLink]. See the [LICENSE][license] file for more info. 90 | 91 | [mitLink]:http://opensource.org/licenses/MIT 92 | [license]:https://github.com/marcoscurvello/MCActivityButton/blob/master/LICENSE 93 | [demo]:https://raw.githubusercontent.com/marcoscurvello/MCActivityButton/master/Screenshots/demo.gif 94 | -------------------------------------------------------------------------------- /Screenshots/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoscurvello/MCActivityButton/bcb6f866d2faa020cbd59e03be65f79b938c295d/Screenshots/demo.gif -------------------------------------------------------------------------------- /Screenshots/screenshot0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoscurvello/MCActivityButton/bcb6f866d2faa020cbd59e03be65f79b938c295d/Screenshots/screenshot0.png -------------------------------------------------------------------------------- /Screenshots/screenshot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoscurvello/MCActivityButton/bcb6f866d2faa020cbd59e03be65f79b938c295d/Screenshots/screenshot1.png --------------------------------------------------------------------------------