├── .gitignore ├── .travis.yml ├── Example ├── MBRateApp.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ └── MBRateApp-Example.xcscheme ├── MBRateApp │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ ├── Contents.json │ │ └── icon.imageset │ │ │ ├── Contents.json │ │ │ └── Screen Shot 2016-04-16 at 22.07.20.png │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── MBRateApp.podspec.json │ ├── Manifest.lock │ ├── Pods-Info.plist │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── MBRateApp.xcscheme │ └── Target Support Files │ │ ├── MBRateApp │ │ ├── Info.plist │ │ ├── MBRateApp-Private.xcconfig │ │ ├── MBRateApp-dummy.m │ │ ├── MBRateApp-prefix.pch │ │ ├── MBRateApp-umbrella.h │ │ ├── MBRateApp.modulemap │ │ └── MBRateApp.xcconfig │ │ ├── Pods-MBRateApp_Example │ │ ├── Info.plist │ │ ├── Pods-MBRateApp_Example-acknowledgements.markdown │ │ ├── Pods-MBRateApp_Example-acknowledgements.plist │ │ ├── Pods-MBRateApp_Example-dummy.m │ │ ├── Pods-MBRateApp_Example-frameworks.sh │ │ ├── Pods-MBRateApp_Example-resources.sh │ │ ├── Pods-MBRateApp_Example-umbrella.h │ │ ├── Pods-MBRateApp_Example.debug.xcconfig │ │ ├── Pods-MBRateApp_Example.modulemap │ │ └── Pods-MBRateApp_Example.release.xcconfig │ │ └── Pods-MBRateApp_Tests │ │ ├── Info.plist │ │ ├── Pods-MBRateApp_Tests-acknowledgements.markdown │ │ ├── Pods-MBRateApp_Tests-acknowledgements.plist │ │ ├── Pods-MBRateApp_Tests-dummy.m │ │ ├── Pods-MBRateApp_Tests-frameworks.sh │ │ ├── Pods-MBRateApp_Tests-resources.sh │ │ ├── Pods-MBRateApp_Tests-umbrella.h │ │ ├── Pods-MBRateApp_Tests.debug.xcconfig │ │ ├── Pods-MBRateApp_Tests.modulemap │ │ └── Pods-MBRateApp_Tests.release.xcconfig └── Tests │ ├── Info.plist │ └── Tests.swift ├── LICENSE ├── MBRateApp.podspec ├── MBRateApp ├── Assets │ ├── .gitkeep │ ├── RateUs.storyboard │ ├── rateus_close.png │ ├── rateus_off.png │ └── rateus_on.png └── Classes │ ├── .gitkeep │ ├── MBRateUs.swift │ └── MBRateUsViewController.swift ├── README.md ├── Screenshots ├── MBChatApp.gif ├── screenshot1.png └── screenshot2.png └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata 19 | 20 | ## Other 21 | *.xccheckout 22 | *.moved-aside 23 | *.xcuserstate 24 | *.xcscmblueprint 25 | 26 | ## Obj-C/Swift specific 27 | *.hmap 28 | *.ipa 29 | 30 | ## Playgrounds 31 | timeline.xctimeline 32 | playground.xcworkspace 33 | 34 | # Swift Package Manager 35 | # 36 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 37 | # Packages/ 38 | .build/ 39 | 40 | # CocoaPods 41 | # 42 | # We recommend against adding the Pods directory to your .gitignore. However 43 | # you should judge for yourself, the pros and cons are mentioned at: 44 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 45 | # 46 | # Pods/ 47 | 48 | # Carthage 49 | # 50 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 51 | # Carthage/Checkouts 52 | 53 | Carthage/Build 54 | 55 | # fastlane 56 | # 57 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 58 | # screenshots whenever they are needed. 59 | # For more information about the recommended setup visit: 60 | # https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md 61 | 62 | fastlane/report.xml 63 | fastlane/screenshots 64 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | language: objective-c 6 | # cache: cocoapods 7 | # podfile: Example/Podfile 8 | # before_install: 9 | # - gem install cocoapods # Since Travis is not always on latest version 10 | # - pod install --project-directory=Example 11 | script: 12 | - set -o pipefail && xcodebuild test -workspace Example/MBRateApp.xcworkspace -scheme MBRateApp-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty 13 | - pod lib lint 14 | -------------------------------------------------------------------------------- /Example/MBRateApp.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1F264B9DD5F3008613FABE6A /* Pods_MBRateApp_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E1D4256843DA0D5490C0B67D /* Pods_MBRateApp_Example.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 13 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 14 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 15 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 16 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 17 | F6FD677D1D3E1AD49B7F9CA8 /* Pods_MBRateApp_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5F3372669C77A970802C84EB /* Pods_MBRateApp_Tests.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 26 | remoteInfo = MBRateApp; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 038793FB5034611F5EB2946A /* Pods-MBRateApp_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MBRateApp_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MBRateApp_Example/Pods-MBRateApp_Example.debug.xcconfig"; sourceTree = ""; }; 32 | 468F073D801EDB7ABBC8BA18 /* Pods-MBRateApp_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MBRateApp_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-MBRateApp_Tests/Pods-MBRateApp_Tests.release.xcconfig"; sourceTree = ""; }; 33 | 46ED1F8ECEC2F1EFAE7D31A5 /* Pods-MBRateApp_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MBRateApp_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-MBRateApp_Example/Pods-MBRateApp_Example.release.xcconfig"; sourceTree = ""; }; 34 | 5F3372669C77A970802C84EB /* Pods_MBRateApp_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MBRateApp_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 35 | 607FACD01AFB9204008FA782 /* MBRateApp_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MBRateApp_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 36 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 37 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 38 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 39 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 40 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 41 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 42 | 607FACE51AFB9204008FA782 /* MBRateApp_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MBRateApp_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 43 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 44 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 45 | 832B8660D9C99B9B61E9A92D /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 46 | A942420E85542A6871E9F325 /* MBRateApp.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = MBRateApp.podspec; path = ../MBRateApp.podspec; sourceTree = ""; }; 47 | C152ACC29AE98FA55937A3AC /* Pods-MBRateApp_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MBRateApp_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MBRateApp_Tests/Pods-MBRateApp_Tests.debug.xcconfig"; sourceTree = ""; }; 48 | E1D4256843DA0D5490C0B67D /* Pods_MBRateApp_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MBRateApp_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | FE6E403A9D555495D5D0F11A /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | 1F264B9DD5F3008613FABE6A /* Pods_MBRateApp_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | F6FD677D1D3E1AD49B7F9CA8 /* Pods_MBRateApp_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 0D6E89B453BCCB7C87D11396 /* Frameworks */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | E1D4256843DA0D5490C0B67D /* Pods_MBRateApp_Example.framework */, 76 | 5F3372669C77A970802C84EB /* Pods_MBRateApp_Tests.framework */, 77 | ); 78 | name = Frameworks; 79 | sourceTree = ""; 80 | }; 81 | 607FACC71AFB9204008FA782 = { 82 | isa = PBXGroup; 83 | children = ( 84 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 85 | 607FACD21AFB9204008FA782 /* Example for MBRateApp */, 86 | 607FACE81AFB9204008FA782 /* Tests */, 87 | 607FACD11AFB9204008FA782 /* Products */, 88 | E2A33953B4070BF928682685 /* Pods */, 89 | 0D6E89B453BCCB7C87D11396 /* Frameworks */, 90 | ); 91 | sourceTree = ""; 92 | }; 93 | 607FACD11AFB9204008FA782 /* Products */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 607FACD01AFB9204008FA782 /* MBRateApp_Example.app */, 97 | 607FACE51AFB9204008FA782 /* MBRateApp_Tests.xctest */, 98 | ); 99 | name = Products; 100 | sourceTree = ""; 101 | }; 102 | 607FACD21AFB9204008FA782 /* Example for MBRateApp */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 106 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 107 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 108 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 109 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 110 | 607FACD31AFB9204008FA782 /* Supporting Files */, 111 | ); 112 | name = "Example for MBRateApp"; 113 | path = MBRateApp; 114 | sourceTree = ""; 115 | }; 116 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 607FACD41AFB9204008FA782 /* Info.plist */, 120 | ); 121 | name = "Supporting Files"; 122 | sourceTree = ""; 123 | }; 124 | 607FACE81AFB9204008FA782 /* Tests */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 128 | 607FACE91AFB9204008FA782 /* Supporting Files */, 129 | ); 130 | path = Tests; 131 | sourceTree = ""; 132 | }; 133 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 607FACEA1AFB9204008FA782 /* Info.plist */, 137 | ); 138 | name = "Supporting Files"; 139 | sourceTree = ""; 140 | }; 141 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | A942420E85542A6871E9F325 /* MBRateApp.podspec */, 145 | FE6E403A9D555495D5D0F11A /* README.md */, 146 | 832B8660D9C99B9B61E9A92D /* LICENSE */, 147 | ); 148 | name = "Podspec Metadata"; 149 | sourceTree = ""; 150 | }; 151 | E2A33953B4070BF928682685 /* Pods */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 038793FB5034611F5EB2946A /* Pods-MBRateApp_Example.debug.xcconfig */, 155 | 46ED1F8ECEC2F1EFAE7D31A5 /* Pods-MBRateApp_Example.release.xcconfig */, 156 | C152ACC29AE98FA55937A3AC /* Pods-MBRateApp_Tests.debug.xcconfig */, 157 | 468F073D801EDB7ABBC8BA18 /* Pods-MBRateApp_Tests.release.xcconfig */, 158 | ); 159 | name = Pods; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* MBRateApp_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "MBRateApp_Example" */; 168 | buildPhases = ( 169 | 2B0781177C0CD54A96268C46 /* Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | 3D1B120DC8B211B9B74E2A8C /* Embed Pods Frameworks */, 174 | DC86C1D43BE31578C794D30C /* Copy Pods Resources */, 175 | ); 176 | buildRules = ( 177 | ); 178 | dependencies = ( 179 | ); 180 | name = MBRateApp_Example; 181 | productName = MBRateApp; 182 | productReference = 607FACD01AFB9204008FA782 /* MBRateApp_Example.app */; 183 | productType = "com.apple.product-type.application"; 184 | }; 185 | 607FACE41AFB9204008FA782 /* MBRateApp_Tests */ = { 186 | isa = PBXNativeTarget; 187 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "MBRateApp_Tests" */; 188 | buildPhases = ( 189 | EFF5B0AEA0560793AB0AD84F /* Check Pods Manifest.lock */, 190 | 607FACE11AFB9204008FA782 /* Sources */, 191 | 607FACE21AFB9204008FA782 /* Frameworks */, 192 | 607FACE31AFB9204008FA782 /* Resources */, 193 | 2365608691DB489EE4CA3896 /* Embed Pods Frameworks */, 194 | 7A6CC946937D01E29416CD8E /* Copy Pods Resources */, 195 | ); 196 | buildRules = ( 197 | ); 198 | dependencies = ( 199 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 200 | ); 201 | name = MBRateApp_Tests; 202 | productName = Tests; 203 | productReference = 607FACE51AFB9204008FA782 /* MBRateApp_Tests.xctest */; 204 | productType = "com.apple.product-type.bundle.unit-test"; 205 | }; 206 | /* End PBXNativeTarget section */ 207 | 208 | /* Begin PBXProject section */ 209 | 607FACC81AFB9204008FA782 /* Project object */ = { 210 | isa = PBXProject; 211 | attributes = { 212 | LastSwiftUpdateCheck = 0720; 213 | LastUpgradeCheck = 0720; 214 | ORGANIZATIONNAME = CocoaPods; 215 | TargetAttributes = { 216 | 607FACCF1AFB9204008FA782 = { 217 | CreatedOnToolsVersion = 6.3.1; 218 | DevelopmentTeam = 3KCUC2H5NB; 219 | }; 220 | 607FACE41AFB9204008FA782 = { 221 | CreatedOnToolsVersion = 6.3.1; 222 | TestTargetID = 607FACCF1AFB9204008FA782; 223 | }; 224 | }; 225 | }; 226 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "MBRateApp" */; 227 | compatibilityVersion = "Xcode 3.2"; 228 | developmentRegion = English; 229 | hasScannedForEncodings = 0; 230 | knownRegions = ( 231 | en, 232 | Base, 233 | ); 234 | mainGroup = 607FACC71AFB9204008FA782; 235 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 236 | projectDirPath = ""; 237 | projectRoot = ""; 238 | targets = ( 239 | 607FACCF1AFB9204008FA782 /* MBRateApp_Example */, 240 | 607FACE41AFB9204008FA782 /* MBRateApp_Tests */, 241 | ); 242 | }; 243 | /* End PBXProject section */ 244 | 245 | /* Begin PBXResourcesBuildPhase section */ 246 | 607FACCE1AFB9204008FA782 /* Resources */ = { 247 | isa = PBXResourcesBuildPhase; 248 | buildActionMask = 2147483647; 249 | files = ( 250 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 251 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 252 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 253 | ); 254 | runOnlyForDeploymentPostprocessing = 0; 255 | }; 256 | 607FACE31AFB9204008FA782 /* Resources */ = { 257 | isa = PBXResourcesBuildPhase; 258 | buildActionMask = 2147483647; 259 | files = ( 260 | ); 261 | runOnlyForDeploymentPostprocessing = 0; 262 | }; 263 | /* End PBXResourcesBuildPhase section */ 264 | 265 | /* Begin PBXShellScriptBuildPhase section */ 266 | 2365608691DB489EE4CA3896 /* Embed Pods Frameworks */ = { 267 | isa = PBXShellScriptBuildPhase; 268 | buildActionMask = 2147483647; 269 | files = ( 270 | ); 271 | inputPaths = ( 272 | ); 273 | name = "Embed Pods Frameworks"; 274 | outputPaths = ( 275 | ); 276 | runOnlyForDeploymentPostprocessing = 0; 277 | shellPath = /bin/sh; 278 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MBRateApp_Tests/Pods-MBRateApp_Tests-frameworks.sh\"\n"; 279 | showEnvVarsInLog = 0; 280 | }; 281 | 2B0781177C0CD54A96268C46 /* Check Pods Manifest.lock */ = { 282 | isa = PBXShellScriptBuildPhase; 283 | buildActionMask = 2147483647; 284 | files = ( 285 | ); 286 | inputPaths = ( 287 | ); 288 | name = "Check Pods Manifest.lock"; 289 | outputPaths = ( 290 | ); 291 | runOnlyForDeploymentPostprocessing = 0; 292 | shellPath = /bin/sh; 293 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 294 | showEnvVarsInLog = 0; 295 | }; 296 | 3D1B120DC8B211B9B74E2A8C /* Embed Pods Frameworks */ = { 297 | isa = PBXShellScriptBuildPhase; 298 | buildActionMask = 2147483647; 299 | files = ( 300 | ); 301 | inputPaths = ( 302 | ); 303 | name = "Embed Pods Frameworks"; 304 | outputPaths = ( 305 | ); 306 | runOnlyForDeploymentPostprocessing = 0; 307 | shellPath = /bin/sh; 308 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MBRateApp_Example/Pods-MBRateApp_Example-frameworks.sh\"\n"; 309 | showEnvVarsInLog = 0; 310 | }; 311 | 7A6CC946937D01E29416CD8E /* Copy Pods Resources */ = { 312 | isa = PBXShellScriptBuildPhase; 313 | buildActionMask = 2147483647; 314 | files = ( 315 | ); 316 | inputPaths = ( 317 | ); 318 | name = "Copy Pods Resources"; 319 | outputPaths = ( 320 | ); 321 | runOnlyForDeploymentPostprocessing = 0; 322 | shellPath = /bin/sh; 323 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MBRateApp_Tests/Pods-MBRateApp_Tests-resources.sh\"\n"; 324 | showEnvVarsInLog = 0; 325 | }; 326 | DC86C1D43BE31578C794D30C /* Copy Pods Resources */ = { 327 | isa = PBXShellScriptBuildPhase; 328 | buildActionMask = 2147483647; 329 | files = ( 330 | ); 331 | inputPaths = ( 332 | ); 333 | name = "Copy Pods Resources"; 334 | outputPaths = ( 335 | ); 336 | runOnlyForDeploymentPostprocessing = 0; 337 | shellPath = /bin/sh; 338 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MBRateApp_Example/Pods-MBRateApp_Example-resources.sh\"\n"; 339 | showEnvVarsInLog = 0; 340 | }; 341 | EFF5B0AEA0560793AB0AD84F /* Check Pods Manifest.lock */ = { 342 | isa = PBXShellScriptBuildPhase; 343 | buildActionMask = 2147483647; 344 | files = ( 345 | ); 346 | inputPaths = ( 347 | ); 348 | name = "Check Pods Manifest.lock"; 349 | outputPaths = ( 350 | ); 351 | runOnlyForDeploymentPostprocessing = 0; 352 | shellPath = /bin/sh; 353 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 354 | showEnvVarsInLog = 0; 355 | }; 356 | /* End PBXShellScriptBuildPhase section */ 357 | 358 | /* Begin PBXSourcesBuildPhase section */ 359 | 607FACCC1AFB9204008FA782 /* Sources */ = { 360 | isa = PBXSourcesBuildPhase; 361 | buildActionMask = 2147483647; 362 | files = ( 363 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 364 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 365 | ); 366 | runOnlyForDeploymentPostprocessing = 0; 367 | }; 368 | 607FACE11AFB9204008FA782 /* Sources */ = { 369 | isa = PBXSourcesBuildPhase; 370 | buildActionMask = 2147483647; 371 | files = ( 372 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 373 | ); 374 | runOnlyForDeploymentPostprocessing = 0; 375 | }; 376 | /* End PBXSourcesBuildPhase section */ 377 | 378 | /* Begin PBXTargetDependency section */ 379 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 380 | isa = PBXTargetDependency; 381 | target = 607FACCF1AFB9204008FA782 /* MBRateApp_Example */; 382 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 383 | }; 384 | /* End PBXTargetDependency section */ 385 | 386 | /* Begin PBXVariantGroup section */ 387 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 388 | isa = PBXVariantGroup; 389 | children = ( 390 | 607FACDA1AFB9204008FA782 /* Base */, 391 | ); 392 | name = Main.storyboard; 393 | sourceTree = ""; 394 | }; 395 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 396 | isa = PBXVariantGroup; 397 | children = ( 398 | 607FACDF1AFB9204008FA782 /* Base */, 399 | ); 400 | name = LaunchScreen.xib; 401 | sourceTree = ""; 402 | }; 403 | /* End PBXVariantGroup section */ 404 | 405 | /* Begin XCBuildConfiguration section */ 406 | 607FACED1AFB9204008FA782 /* Debug */ = { 407 | isa = XCBuildConfiguration; 408 | buildSettings = { 409 | ALWAYS_SEARCH_USER_PATHS = NO; 410 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 411 | CLANG_CXX_LIBRARY = "libc++"; 412 | CLANG_ENABLE_MODULES = YES; 413 | CLANG_ENABLE_OBJC_ARC = YES; 414 | CLANG_WARN_BOOL_CONVERSION = YES; 415 | CLANG_WARN_CONSTANT_CONVERSION = YES; 416 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 417 | CLANG_WARN_EMPTY_BODY = YES; 418 | CLANG_WARN_ENUM_CONVERSION = YES; 419 | CLANG_WARN_INT_CONVERSION = YES; 420 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 421 | CLANG_WARN_UNREACHABLE_CODE = YES; 422 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 423 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 424 | COPY_PHASE_STRIP = NO; 425 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 426 | ENABLE_STRICT_OBJC_MSGSEND = YES; 427 | ENABLE_TESTABILITY = YES; 428 | GCC_C_LANGUAGE_STANDARD = gnu99; 429 | GCC_DYNAMIC_NO_PIC = NO; 430 | GCC_NO_COMMON_BLOCKS = YES; 431 | GCC_OPTIMIZATION_LEVEL = 0; 432 | GCC_PREPROCESSOR_DEFINITIONS = ( 433 | "DEBUG=1", 434 | "$(inherited)", 435 | ); 436 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 437 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 438 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 439 | GCC_WARN_UNDECLARED_SELECTOR = YES; 440 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 441 | GCC_WARN_UNUSED_FUNCTION = YES; 442 | GCC_WARN_UNUSED_VARIABLE = YES; 443 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 444 | MTL_ENABLE_DEBUG_INFO = YES; 445 | ONLY_ACTIVE_ARCH = YES; 446 | SDKROOT = iphoneos; 447 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 448 | }; 449 | name = Debug; 450 | }; 451 | 607FACEE1AFB9204008FA782 /* Release */ = { 452 | isa = XCBuildConfiguration; 453 | buildSettings = { 454 | ALWAYS_SEARCH_USER_PATHS = NO; 455 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 456 | CLANG_CXX_LIBRARY = "libc++"; 457 | CLANG_ENABLE_MODULES = YES; 458 | CLANG_ENABLE_OBJC_ARC = YES; 459 | CLANG_WARN_BOOL_CONVERSION = YES; 460 | CLANG_WARN_CONSTANT_CONVERSION = YES; 461 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 462 | CLANG_WARN_EMPTY_BODY = YES; 463 | CLANG_WARN_ENUM_CONVERSION = YES; 464 | CLANG_WARN_INT_CONVERSION = YES; 465 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 466 | CLANG_WARN_UNREACHABLE_CODE = YES; 467 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 468 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 469 | COPY_PHASE_STRIP = NO; 470 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 471 | ENABLE_NS_ASSERTIONS = NO; 472 | ENABLE_STRICT_OBJC_MSGSEND = YES; 473 | GCC_C_LANGUAGE_STANDARD = gnu99; 474 | GCC_NO_COMMON_BLOCKS = YES; 475 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 476 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 477 | GCC_WARN_UNDECLARED_SELECTOR = YES; 478 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 479 | GCC_WARN_UNUSED_FUNCTION = YES; 480 | GCC_WARN_UNUSED_VARIABLE = YES; 481 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 482 | MTL_ENABLE_DEBUG_INFO = NO; 483 | SDKROOT = iphoneos; 484 | VALIDATE_PRODUCT = YES; 485 | }; 486 | name = Release; 487 | }; 488 | 607FACF01AFB9204008FA782 /* Debug */ = { 489 | isa = XCBuildConfiguration; 490 | baseConfigurationReference = 038793FB5034611F5EB2946A /* Pods-MBRateApp_Example.debug.xcconfig */; 491 | buildSettings = { 492 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 493 | CODE_SIGN_IDENTITY = "iPhone Developer"; 494 | INFOPLIST_FILE = MBRateApp/Info.plist; 495 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 496 | MODULE_NAME = ExampleApp; 497 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 498 | PRODUCT_NAME = "$(TARGET_NAME)"; 499 | }; 500 | name = Debug; 501 | }; 502 | 607FACF11AFB9204008FA782 /* Release */ = { 503 | isa = XCBuildConfiguration; 504 | baseConfigurationReference = 46ED1F8ECEC2F1EFAE7D31A5 /* Pods-MBRateApp_Example.release.xcconfig */; 505 | buildSettings = { 506 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 507 | CODE_SIGN_IDENTITY = "iPhone Developer"; 508 | INFOPLIST_FILE = MBRateApp/Info.plist; 509 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 510 | MODULE_NAME = ExampleApp; 511 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 512 | PRODUCT_NAME = "$(TARGET_NAME)"; 513 | }; 514 | name = Release; 515 | }; 516 | 607FACF31AFB9204008FA782 /* Debug */ = { 517 | isa = XCBuildConfiguration; 518 | baseConfigurationReference = C152ACC29AE98FA55937A3AC /* Pods-MBRateApp_Tests.debug.xcconfig */; 519 | buildSettings = { 520 | FRAMEWORK_SEARCH_PATHS = ( 521 | "$(SDKROOT)/Developer/Library/Frameworks", 522 | "$(inherited)", 523 | ); 524 | GCC_PREPROCESSOR_DEFINITIONS = ( 525 | "DEBUG=1", 526 | "$(inherited)", 527 | ); 528 | INFOPLIST_FILE = Tests/Info.plist; 529 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 530 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 531 | PRODUCT_NAME = "$(TARGET_NAME)"; 532 | }; 533 | name = Debug; 534 | }; 535 | 607FACF41AFB9204008FA782 /* Release */ = { 536 | isa = XCBuildConfiguration; 537 | baseConfigurationReference = 468F073D801EDB7ABBC8BA18 /* Pods-MBRateApp_Tests.release.xcconfig */; 538 | buildSettings = { 539 | FRAMEWORK_SEARCH_PATHS = ( 540 | "$(SDKROOT)/Developer/Library/Frameworks", 541 | "$(inherited)", 542 | ); 543 | INFOPLIST_FILE = Tests/Info.plist; 544 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 545 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 546 | PRODUCT_NAME = "$(TARGET_NAME)"; 547 | }; 548 | name = Release; 549 | }; 550 | /* End XCBuildConfiguration section */ 551 | 552 | /* Begin XCConfigurationList section */ 553 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "MBRateApp" */ = { 554 | isa = XCConfigurationList; 555 | buildConfigurations = ( 556 | 607FACED1AFB9204008FA782 /* Debug */, 557 | 607FACEE1AFB9204008FA782 /* Release */, 558 | ); 559 | defaultConfigurationIsVisible = 0; 560 | defaultConfigurationName = Release; 561 | }; 562 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "MBRateApp_Example" */ = { 563 | isa = XCConfigurationList; 564 | buildConfigurations = ( 565 | 607FACF01AFB9204008FA782 /* Debug */, 566 | 607FACF11AFB9204008FA782 /* Release */, 567 | ); 568 | defaultConfigurationIsVisible = 0; 569 | defaultConfigurationName = Release; 570 | }; 571 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "MBRateApp_Tests" */ = { 572 | isa = XCConfigurationList; 573 | buildConfigurations = ( 574 | 607FACF31AFB9204008FA782 /* Debug */, 575 | 607FACF41AFB9204008FA782 /* Release */, 576 | ); 577 | defaultConfigurationIsVisible = 0; 578 | defaultConfigurationName = Release; 579 | }; 580 | /* End XCConfigurationList section */ 581 | }; 582 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 583 | } 584 | -------------------------------------------------------------------------------- /Example/MBRateApp.xcodeproj/xcshareddata/xcschemes/MBRateApp-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /Example/MBRateApp/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // MBRateApp 4 | // 5 | // Created by Mati Bot on 04/16/2016. 6 | // Copyright (c) 2016 Mati Bot. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(application: UIApplication) { 23 | // 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. 24 | // 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. 25 | } 26 | 27 | func applicationDidEnterBackground(application: UIApplication) { 28 | // 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. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(application: UIApplication) { 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 | func applicationDidBecomeActive(application: UIApplication) { 37 | // 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. 38 | } 39 | 40 | func applicationWillTerminate(application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/MBRateApp/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /Example/MBRateApp/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/MBRateApp/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" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Example/MBRateApp/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/MBRateApp/Images.xcassets/icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "Screen Shot 2016-04-16 at 22.07.20.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/MBRateApp/Images.xcassets/icon.imageset/Screen Shot 2016-04-16 at 22.07.20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatiBot/MBRateApp/72985dd6f5f460a83d3c2713c2f32fdeca685ddf/Example/MBRateApp/Images.xcassets/icon.imageset/Screen Shot 2016-04-16 at 22.07.20.png -------------------------------------------------------------------------------- /Example/MBRateApp/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/MBRateApp/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // MBRateApp 4 | // 5 | // Created by Mati Bot on 04/16/2016. 6 | // Copyright (c) 2016 Mati Bot. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import MBRateApp 11 | 12 | class ViewController: UIViewController { 13 | 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | // Do any additional setup after loading the view, typically from a nib. 17 | 18 | var rateUsInfo = MBRateUsInfo() 19 | 20 | rateUsInfo.title = "Enjoying The League?" 21 | rateUsInfo.titleImage = UIImage(named: "icon") 22 | rateUsInfo.itunesId = "893653132" 23 | MBRateUs.sharedInstance.rateUsInfo = rateUsInfo 24 | } 25 | 26 | 27 | @IBAction func showRateUsPopup(sender: UIButton) { 28 | MBRateUs.sharedInstance.showRateUs(self 29 | , positiveBlock: { () -> Void in 30 | let alert = UIAlertController(title: "MBAppRate", message: "User rated the app", preferredStyle: .Alert) 31 | alert.addAction(UIAlertAction(title: "OK", style: .Cancel, handler: nil)) 32 | self.presentViewController(alert, animated: true, completion: nil) 33 | }, negativeBlock: { () -> Void in 34 | let alert = UIAlertController(title: "MBAppRate", message: "User doesn't like the app", preferredStyle: .Alert) 35 | alert.addAction(UIAlertAction(title: "OK", style: .Cancel, handler: nil)) 36 | self.presentViewController(alert, animated: true, completion: nil) 37 | }) { () -> Void in 38 | let alert = UIAlertController(title: "MBAppRate", message: "User dismissed screen", preferredStyle: .Alert) 39 | alert.addAction(UIAlertAction(title: "OK", style: .Cancel, handler: nil)) 40 | self.presentViewController(alert, animated: true, completion: nil) 41 | } 42 | } 43 | } 44 | 45 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'MBRateApp_Example', :exclusive => true do 4 | pod 'MBRateApp', :path => '../' 5 | end 6 | 7 | target 'MBRateApp_Tests', :exclusive => true do 8 | pod 'MBRateApp', :path => '../' 9 | 10 | 11 | 12 | 13 | end 14 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - MBRateApp (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - MBRateApp (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | MBRateApp: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | MBRateApp: a42b2224ab2f64dc1307dd9e367874aa6404ea0e 13 | 14 | COCOAPODS: 0.38.2 15 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/MBRateApp.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MBRateApp", 3 | "version": "0.1.0", 4 | "summary": "A short description of MBRateApp.", 5 | "description": "", 6 | "homepage": "https://github.com//MBRateApp", 7 | "license": "MIT", 8 | "authors": { 9 | "Mati Bot": "matibot@gmail.com" 10 | }, 11 | "source": { 12 | "git": "https://github.com//MBRateApp.git", 13 | "tag": "0.1.0" 14 | }, 15 | "platforms": { 16 | "ios": "8.0" 17 | }, 18 | "source_files": "MBRateApp/Classes/**/*", 19 | "resource_bundles": { 20 | "MBRateApp": [ 21 | "MBRateApp/Assets/*.png" 22 | ] 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - MBRateApp (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - MBRateApp (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | MBRateApp: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | MBRateApp: a42b2224ab2f64dc1307dd9e367874aa6404ea0e 13 | 14 | COCOAPODS: 0.38.2 15 | -------------------------------------------------------------------------------- /Example/Pods/Pods-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 048D8E4C1E840C5D00A5ACD1 /* Pods-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 048D8E4B1E840C5D00A5ACD1 /* Pods-Info.plist */; }; 11 | 0ACA2D81BEBBACC02C77B55F3388578B /* Pods-MBRateApp_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F284481F8E69448AE477F05080C977C5 /* Pods-MBRateApp_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 35CCE6E1A87A2CF903D74A2A2922E3F3 /* MBRateApp-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 761C882D3CFD38CA7599B1E6C1DF6508 /* MBRateApp-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 446DBEB41CC2F90B002CC9C2 /* MBRateUsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 446DBEB31CC2F90B002CC9C2 /* MBRateUsViewController.swift */; }; 14 | 44A6DF651CC36AF900B5BC97 /* rateus_close.png in Resources */ = {isa = PBXBuildFile; fileRef = 44A6DF611CC36AF900B5BC97 /* rateus_close.png */; }; 15 | 44A6DF661CC36AF900B5BC97 /* rateus_off.png in Resources */ = {isa = PBXBuildFile; fileRef = 44A6DF621CC36AF900B5BC97 /* rateus_off.png */; }; 16 | 44A6DF671CC36AF900B5BC97 /* rateus_on.png in Resources */ = {isa = PBXBuildFile; fileRef = 44A6DF631CC36AF900B5BC97 /* rateus_on.png */; }; 17 | 44A6DF681CC36AF900B5BC97 /* RateUs.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 44A6DF641CC36AF900B5BC97 /* RateUs.storyboard */; }; 18 | 4E76365609A44AFDB0E5D7E57B80A86A /* MBRateApp-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D62551283B09577A352B314F2F95983 /* MBRateApp-dummy.m */; }; 19 | 585F8A85554ED467A4ABB77FACD66D16 /* Pods-MBRateApp_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 57513697864EFF1CB8CA08F50928D037 /* Pods-MBRateApp_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | 9A9BE793F6F0B5621134D24F176C6F27 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2FBE7293DD4E68DD75D10EA8B409AE92 /* Foundation.framework */; }; 21 | B843BD7395963E0142889DD428514E17 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2FBE7293DD4E68DD75D10EA8B409AE92 /* Foundation.framework */; }; 22 | CBBEAC680B9385BD59B5065A2A2BA773 /* MBRateUs.swift in Sources */ = {isa = PBXBuildFile; fileRef = B264EA2A793CE3D9B3316D335D6C84C2 /* MBRateUs.swift */; }; 23 | D3265A3A7959FBDF859DFD0D58D3641B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2FBE7293DD4E68DD75D10EA8B409AE92 /* Foundation.framework */; }; 24 | D840C24C9F6F7C701072AA62C8F097E1 /* Pods-MBRateApp_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1B70088CFB1963B668049800FC52956A /* Pods-MBRateApp_Example-dummy.m */; }; 25 | EC16245D0A6A4DCF4E009E923DA82997 /* MBRateApp.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 00B9F35E24A511D8A4599DE5BE23601C /* MBRateApp.bundle */; }; 26 | FAE526C734B99CE4B51447844E96B482 /* Pods-MBRateApp_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5FB4208A7B0E51D08808A71A95FC1BCE /* Pods-MBRateApp_Tests-dummy.m */; }; 27 | /* End PBXBuildFile section */ 28 | 29 | /* Begin PBXContainerItemProxy section */ 30 | 6E2AD1564C747FEAC6833A71C2D2E9B4 /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 33 | proxyType = 1; 34 | remoteGlobalIDString = 0082F284B37CD74BF7AB89D6CA68C334; 35 | remoteInfo = MBRateApp; 36 | }; 37 | 7B6CD868B9B3FBA52CF2756CA1D5E6F7 /* PBXContainerItemProxy */ = { 38 | isa = PBXContainerItemProxy; 39 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 40 | proxyType = 1; 41 | remoteGlobalIDString = 0082F284B37CD74BF7AB89D6CA68C334; 42 | remoteInfo = MBRateApp; 43 | }; 44 | AB2DD1CB869774E6CEEA1D6B9D3BC926 /* PBXContainerItemProxy */ = { 45 | isa = PBXContainerItemProxy; 46 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 47 | proxyType = 1; 48 | remoteGlobalIDString = A859392624B7611D34D13E5130B6EC05; 49 | remoteInfo = "MBRateApp-MBRateApp"; 50 | }; 51 | /* End PBXContainerItemProxy section */ 52 | 53 | /* Begin PBXFileReference section */ 54 | 00B9F35E24A511D8A4599DE5BE23601C /* MBRateApp.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MBRateApp.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; 55 | 048D8E4B1E840C5D00A5ACD1 /* Pods-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Pods-Info.plist"; sourceTree = ""; }; 56 | 071CBBC45AF80F8462CDB666F57209D0 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 57 | 1604DC47155685A1EB5043230A06A3B4 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 58 | 1B70088CFB1963B668049800FC52956A /* Pods-MBRateApp_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-MBRateApp_Example-dummy.m"; sourceTree = ""; }; 59 | 1D62551283B09577A352B314F2F95983 /* MBRateApp-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "MBRateApp-dummy.m"; sourceTree = ""; }; 60 | 2FBE7293DD4E68DD75D10EA8B409AE92 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 61 | 3BA0734F32513C6A3DE625A540FA7EDE /* Pods-MBRateApp_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-MBRateApp_Example-acknowledgements.plist"; sourceTree = ""; }; 62 | 41321E496978268F6A7A19D4E2B4F711 /* Pods_MBRateApp_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MBRateApp_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 63 | 43A5C20CB14DFC47E0ACEB90300BA4A6 /* MBRateApp-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "MBRateApp-prefix.pch"; sourceTree = ""; }; 64 | 446DBEB31CC2F90B002CC9C2 /* MBRateUsViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MBRateUsViewController.swift; sourceTree = ""; }; 65 | 4496C4A0BA45FEE1ABCF82BD0F042381 /* Pods-MBRateApp_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MBRateApp_Tests-resources.sh"; sourceTree = ""; }; 66 | 44A6DF611CC36AF900B5BC97 /* rateus_close.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = rateus_close.png; path = Assets/rateus_close.png; sourceTree = ""; }; 67 | 44A6DF621CC36AF900B5BC97 /* rateus_off.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = rateus_off.png; path = Assets/rateus_off.png; sourceTree = ""; }; 68 | 44A6DF631CC36AF900B5BC97 /* rateus_on.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = rateus_on.png; path = Assets/rateus_on.png; sourceTree = ""; }; 69 | 44A6DF641CC36AF900B5BC97 /* RateUs.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = RateUs.storyboard; path = Assets/RateUs.storyboard; sourceTree = ""; }; 70 | 4B1F57948E2490D62D791B8DF8CD7FAD /* Pods-MBRateApp_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MBRateApp_Example.debug.xcconfig"; sourceTree = ""; }; 71 | 4DC3838F19D08E16C88140A051193ABC /* MBRateApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MBRateApp.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 72 | 4F3D127D5F4374D3F7F91E3EBD51742D /* Pods-MBRateApp_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-MBRateApp_Tests.modulemap"; sourceTree = ""; }; 73 | 532E8F099220B3A6C57434E9D3D33CB7 /* MBRateApp.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = MBRateApp.xcconfig; sourceTree = ""; }; 74 | 57513697864EFF1CB8CA08F50928D037 /* Pods-MBRateApp_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-MBRateApp_Example-umbrella.h"; sourceTree = ""; }; 75 | 5BB925EE052E097B7E355CCCB6D9EB09 /* Pods-MBRateApp_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-MBRateApp_Example.modulemap"; sourceTree = ""; }; 76 | 5D4FE1CF54F2BF29893FBB282F25C9F9 /* MBRateApp.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = MBRateApp.modulemap; sourceTree = ""; }; 77 | 5FB4208A7B0E51D08808A71A95FC1BCE /* Pods-MBRateApp_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-MBRateApp_Tests-dummy.m"; sourceTree = ""; }; 78 | 761C882D3CFD38CA7599B1E6C1DF6508 /* MBRateApp-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "MBRateApp-umbrella.h"; sourceTree = ""; }; 79 | 7637FBD561B1D22B4B6D66391D5DB573 /* Pods-MBRateApp_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-MBRateApp_Example-acknowledgements.markdown"; sourceTree = ""; }; 80 | 8EB037A91BF33B7A3CDD2B74AC348CA6 /* Pods-MBRateApp_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-MBRateApp_Tests-acknowledgements.plist"; sourceTree = ""; }; 81 | 8F47F7614C964506C7C68534832ED2A7 /* Pods-MBRateApp_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MBRateApp_Example.release.xcconfig"; sourceTree = ""; }; 82 | 94C7E1F9CB269E01C98D3E4E0F634C92 /* Pods-MBRateApp_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MBRateApp_Tests-frameworks.sh"; sourceTree = ""; }; 83 | 99E3F10F9B669869A51D31BC555BBD0A /* Pods_MBRateApp_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MBRateApp_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 84 | 9D4566D6317C86951E4F49DFEDDFE851 /* Pods-MBRateApp_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MBRateApp_Tests.release.xcconfig"; sourceTree = ""; }; 85 | B264EA2A793CE3D9B3316D335D6C84C2 /* MBRateUs.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = MBRateUs.swift; sourceTree = ""; }; 86 | BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 87 | BEE2D184871A29D11FE1F0D27516D369 /* Pods-MBRateApp_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MBRateApp_Example-resources.sh"; sourceTree = ""; }; 88 | D1807BF3E236A9F42B5680B8DB4215A5 /* Pods-MBRateApp_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-MBRateApp_Tests-acknowledgements.markdown"; sourceTree = ""; }; 89 | D65CAAC72CD5D07C0412F4B717A37C18 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 90 | EF91C9BA3B2341B63984864880225642 /* Pods-MBRateApp_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MBRateApp_Example-frameworks.sh"; sourceTree = ""; }; 91 | F284481F8E69448AE477F05080C977C5 /* Pods-MBRateApp_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-MBRateApp_Tests-umbrella.h"; sourceTree = ""; }; 92 | F840513D1891AA3735E4CCF5107D4268 /* MBRateApp-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "MBRateApp-Private.xcconfig"; sourceTree = ""; }; 93 | FC83C3BFEB43EE0D274A03C5D548A82C /* Pods-MBRateApp_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MBRateApp_Tests.debug.xcconfig"; sourceTree = ""; }; 94 | /* End PBXFileReference section */ 95 | 96 | /* Begin PBXFrameworksBuildPhase section */ 97 | 5DF0A63EBD92987283C711353F119CD4 /* Frameworks */ = { 98 | isa = PBXFrameworksBuildPhase; 99 | buildActionMask = 2147483647; 100 | files = ( 101 | ); 102 | runOnlyForDeploymentPostprocessing = 0; 103 | }; 104 | 78EA7664F9120EF66A2619CF4FD5F997 /* Frameworks */ = { 105 | isa = PBXFrameworksBuildPhase; 106 | buildActionMask = 2147483647; 107 | files = ( 108 | B843BD7395963E0142889DD428514E17 /* Foundation.framework in Frameworks */, 109 | ); 110 | runOnlyForDeploymentPostprocessing = 0; 111 | }; 112 | DF8FC43EC893FE252D4A9F6C49B4DCDC /* Frameworks */ = { 113 | isa = PBXFrameworksBuildPhase; 114 | buildActionMask = 2147483647; 115 | files = ( 116 | D3265A3A7959FBDF859DFD0D58D3641B /* Foundation.framework in Frameworks */, 117 | ); 118 | runOnlyForDeploymentPostprocessing = 0; 119 | }; 120 | E052CCB88DD158D9D9D6143B9EBA01F5 /* Frameworks */ = { 121 | isa = PBXFrameworksBuildPhase; 122 | buildActionMask = 2147483647; 123 | files = ( 124 | 9A9BE793F6F0B5621134D24F176C6F27 /* Foundation.framework in Frameworks */, 125 | ); 126 | runOnlyForDeploymentPostprocessing = 0; 127 | }; 128 | /* End PBXFrameworksBuildPhase section */ 129 | 130 | /* Begin PBXGroup section */ 131 | 08F928741FE111892D3292988BE88CB2 /* MBRateApp */ = { 132 | isa = PBXGroup; 133 | children = ( 134 | 5B53E77A8E862CDC5017651E272FCC7C /* MBRateApp */, 135 | F9576D00145135547A8CC864DA0BD233 /* Support Files */, 136 | ); 137 | name = MBRateApp; 138 | path = ../..; 139 | sourceTree = ""; 140 | }; 141 | 110ADA4110401C541FC372F919A3D8A4 /* Development Pods */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | 08F928741FE111892D3292988BE88CB2 /* MBRateApp */, 145 | ); 146 | name = "Development Pods"; 147 | sourceTree = ""; 148 | }; 149 | 1C0085D06F2693E88A411D3484CB6BA1 /* Pods-MBRateApp_Example */ = { 150 | isa = PBXGroup; 151 | children = ( 152 | D65CAAC72CD5D07C0412F4B717A37C18 /* Info.plist */, 153 | 5BB925EE052E097B7E355CCCB6D9EB09 /* Pods-MBRateApp_Example.modulemap */, 154 | 7637FBD561B1D22B4B6D66391D5DB573 /* Pods-MBRateApp_Example-acknowledgements.markdown */, 155 | 3BA0734F32513C6A3DE625A540FA7EDE /* Pods-MBRateApp_Example-acknowledgements.plist */, 156 | 1B70088CFB1963B668049800FC52956A /* Pods-MBRateApp_Example-dummy.m */, 157 | EF91C9BA3B2341B63984864880225642 /* Pods-MBRateApp_Example-frameworks.sh */, 158 | BEE2D184871A29D11FE1F0D27516D369 /* Pods-MBRateApp_Example-resources.sh */, 159 | 57513697864EFF1CB8CA08F50928D037 /* Pods-MBRateApp_Example-umbrella.h */, 160 | 4B1F57948E2490D62D791B8DF8CD7FAD /* Pods-MBRateApp_Example.debug.xcconfig */, 161 | 8F47F7614C964506C7C68534832ED2A7 /* Pods-MBRateApp_Example.release.xcconfig */, 162 | ); 163 | name = "Pods-MBRateApp_Example"; 164 | path = "Target Support Files/Pods-MBRateApp_Example"; 165 | sourceTree = ""; 166 | }; 167 | 44A6DF541CC3620500B5BC97 /* Assets */ = { 168 | isa = PBXGroup; 169 | children = ( 170 | 44A6DF611CC36AF900B5BC97 /* rateus_close.png */, 171 | 44A6DF621CC36AF900B5BC97 /* rateus_off.png */, 172 | 44A6DF631CC36AF900B5BC97 /* rateus_on.png */, 173 | 44A6DF641CC36AF900B5BC97 /* RateUs.storyboard */, 174 | ); 175 | name = Assets; 176 | sourceTree = ""; 177 | }; 178 | 506C34947D62243858C19667CEEEC867 /* Targets Support Files */ = { 179 | isa = PBXGroup; 180 | children = ( 181 | 1C0085D06F2693E88A411D3484CB6BA1 /* Pods-MBRateApp_Example */, 182 | 8877708128ADD205E36A7BE4493D19B8 /* Pods-MBRateApp_Tests */, 183 | ); 184 | name = "Targets Support Files"; 185 | sourceTree = ""; 186 | }; 187 | 53F661C0CA7190D2CF05023FB33D61E4 /* iOS */ = { 188 | isa = PBXGroup; 189 | children = ( 190 | 2FBE7293DD4E68DD75D10EA8B409AE92 /* Foundation.framework */, 191 | ); 192 | name = iOS; 193 | sourceTree = ""; 194 | }; 195 | 5B53E77A8E862CDC5017651E272FCC7C /* MBRateApp */ = { 196 | isa = PBXGroup; 197 | children = ( 198 | 44A6DF541CC3620500B5BC97 /* Assets */, 199 | 9649005FF429A99216BDF5D277AA5D52 /* Classes */, 200 | ); 201 | path = MBRateApp; 202 | sourceTree = ""; 203 | }; 204 | 7DB346D0F39D3F0E887471402A8071AB = { 205 | isa = PBXGroup; 206 | children = ( 207 | 048D8E4B1E840C5D00A5ACD1 /* Pods-Info.plist */, 208 | BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */, 209 | 110ADA4110401C541FC372F919A3D8A4 /* Development Pods */, 210 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 211 | CCA510CFBEA2D207524CDA0D73C3B561 /* Products */, 212 | 506C34947D62243858C19667CEEEC867 /* Targets Support Files */, 213 | ); 214 | sourceTree = ""; 215 | }; 216 | 8877708128ADD205E36A7BE4493D19B8 /* Pods-MBRateApp_Tests */ = { 217 | isa = PBXGroup; 218 | children = ( 219 | 071CBBC45AF80F8462CDB666F57209D0 /* Info.plist */, 220 | 4F3D127D5F4374D3F7F91E3EBD51742D /* Pods-MBRateApp_Tests.modulemap */, 221 | D1807BF3E236A9F42B5680B8DB4215A5 /* Pods-MBRateApp_Tests-acknowledgements.markdown */, 222 | 8EB037A91BF33B7A3CDD2B74AC348CA6 /* Pods-MBRateApp_Tests-acknowledgements.plist */, 223 | 5FB4208A7B0E51D08808A71A95FC1BCE /* Pods-MBRateApp_Tests-dummy.m */, 224 | 94C7E1F9CB269E01C98D3E4E0F634C92 /* Pods-MBRateApp_Tests-frameworks.sh */, 225 | 4496C4A0BA45FEE1ABCF82BD0F042381 /* Pods-MBRateApp_Tests-resources.sh */, 226 | F284481F8E69448AE477F05080C977C5 /* Pods-MBRateApp_Tests-umbrella.h */, 227 | FC83C3BFEB43EE0D274A03C5D548A82C /* Pods-MBRateApp_Tests.debug.xcconfig */, 228 | 9D4566D6317C86951E4F49DFEDDFE851 /* Pods-MBRateApp_Tests.release.xcconfig */, 229 | ); 230 | name = "Pods-MBRateApp_Tests"; 231 | path = "Target Support Files/Pods-MBRateApp_Tests"; 232 | sourceTree = ""; 233 | }; 234 | 9649005FF429A99216BDF5D277AA5D52 /* Classes */ = { 235 | isa = PBXGroup; 236 | children = ( 237 | B264EA2A793CE3D9B3316D335D6C84C2 /* MBRateUs.swift */, 238 | 446DBEB31CC2F90B002CC9C2 /* MBRateUsViewController.swift */, 239 | ); 240 | path = Classes; 241 | sourceTree = ""; 242 | }; 243 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 244 | isa = PBXGroup; 245 | children = ( 246 | 53F661C0CA7190D2CF05023FB33D61E4 /* iOS */, 247 | ); 248 | name = Frameworks; 249 | sourceTree = ""; 250 | }; 251 | CCA510CFBEA2D207524CDA0D73C3B561 /* Products */ = { 252 | isa = PBXGroup; 253 | children = ( 254 | 00B9F35E24A511D8A4599DE5BE23601C /* MBRateApp.bundle */, 255 | 4DC3838F19D08E16C88140A051193ABC /* MBRateApp.framework */, 256 | 99E3F10F9B669869A51D31BC555BBD0A /* Pods_MBRateApp_Example.framework */, 257 | 41321E496978268F6A7A19D4E2B4F711 /* Pods_MBRateApp_Tests.framework */, 258 | ); 259 | name = Products; 260 | sourceTree = ""; 261 | }; 262 | F9576D00145135547A8CC864DA0BD233 /* Support Files */ = { 263 | isa = PBXGroup; 264 | children = ( 265 | 1604DC47155685A1EB5043230A06A3B4 /* Info.plist */, 266 | 5D4FE1CF54F2BF29893FBB282F25C9F9 /* MBRateApp.modulemap */, 267 | 532E8F099220B3A6C57434E9D3D33CB7 /* MBRateApp.xcconfig */, 268 | F840513D1891AA3735E4CCF5107D4268 /* MBRateApp-Private.xcconfig */, 269 | 1D62551283B09577A352B314F2F95983 /* MBRateApp-dummy.m */, 270 | 43A5C20CB14DFC47E0ACEB90300BA4A6 /* MBRateApp-prefix.pch */, 271 | 761C882D3CFD38CA7599B1E6C1DF6508 /* MBRateApp-umbrella.h */, 272 | ); 273 | name = "Support Files"; 274 | path = "Example/Pods/Target Support Files/MBRateApp"; 275 | sourceTree = ""; 276 | }; 277 | /* End PBXGroup section */ 278 | 279 | /* Begin PBXHeadersBuildPhase section */ 280 | 682BF2CE7A2E6BB8B4268A0EB8187140 /* Headers */ = { 281 | isa = PBXHeadersBuildPhase; 282 | buildActionMask = 2147483647; 283 | files = ( 284 | 0ACA2D81BEBBACC02C77B55F3388578B /* Pods-MBRateApp_Tests-umbrella.h in Headers */, 285 | ); 286 | runOnlyForDeploymentPostprocessing = 0; 287 | }; 288 | 81545DD52EB40538D13321DE9613AE42 /* Headers */ = { 289 | isa = PBXHeadersBuildPhase; 290 | buildActionMask = 2147483647; 291 | files = ( 292 | 585F8A85554ED467A4ABB77FACD66D16 /* Pods-MBRateApp_Example-umbrella.h in Headers */, 293 | ); 294 | runOnlyForDeploymentPostprocessing = 0; 295 | }; 296 | C58220809D0D27E7C1134A3F439282D4 /* Headers */ = { 297 | isa = PBXHeadersBuildPhase; 298 | buildActionMask = 2147483647; 299 | files = ( 300 | 35CCE6E1A87A2CF903D74A2A2922E3F3 /* MBRateApp-umbrella.h in Headers */, 301 | ); 302 | runOnlyForDeploymentPostprocessing = 0; 303 | }; 304 | /* End PBXHeadersBuildPhase section */ 305 | 306 | /* Begin PBXNativeTarget section */ 307 | 0082F284B37CD74BF7AB89D6CA68C334 /* MBRateApp */ = { 308 | isa = PBXNativeTarget; 309 | buildConfigurationList = 8EAFF32A2B68280FAAE65026618B884C /* Build configuration list for PBXNativeTarget "MBRateApp" */; 310 | buildPhases = ( 311 | B9BD56AC165BEC8DC44E5EE400FF1F10 /* Sources */, 312 | DF8FC43EC893FE252D4A9F6C49B4DCDC /* Frameworks */, 313 | 9F056F33BB7B7EA1CB200AF595B1CB1F /* Resources */, 314 | C58220809D0D27E7C1134A3F439282D4 /* Headers */, 315 | ); 316 | buildRules = ( 317 | ); 318 | dependencies = ( 319 | B2BAD529A622B567B85D9F8F856FB0A4 /* PBXTargetDependency */, 320 | ); 321 | name = MBRateApp; 322 | productName = MBRateApp; 323 | productReference = 4DC3838F19D08E16C88140A051193ABC /* MBRateApp.framework */; 324 | productType = "com.apple.product-type.framework"; 325 | }; 326 | 32FFEC9C5B2B4522AC515DCBDCDB439F /* Pods-MBRateApp_Tests */ = { 327 | isa = PBXNativeTarget; 328 | buildConfigurationList = 75FB8B503D0A711A3642C7833972809B /* Build configuration list for PBXNativeTarget "Pods-MBRateApp_Tests" */; 329 | buildPhases = ( 330 | 7B4290509A9A9E6668BADBC3AFC13870 /* Sources */, 331 | E052CCB88DD158D9D9D6143B9EBA01F5 /* Frameworks */, 332 | 682BF2CE7A2E6BB8B4268A0EB8187140 /* Headers */, 333 | ); 334 | buildRules = ( 335 | ); 336 | dependencies = ( 337 | 99D90E3FB33A972D88F5D09A3F94C143 /* PBXTargetDependency */, 338 | ); 339 | name = "Pods-MBRateApp_Tests"; 340 | productName = "Pods-MBRateApp_Tests"; 341 | productReference = 41321E496978268F6A7A19D4E2B4F711 /* Pods_MBRateApp_Tests.framework */; 342 | productType = "com.apple.product-type.framework"; 343 | }; 344 | 42A83614FC33058949F958AC738A71F9 /* Pods-MBRateApp_Example */ = { 345 | isa = PBXNativeTarget; 346 | buildConfigurationList = 2711ADF7A9B4DE887139A16545ECE6CD /* Build configuration list for PBXNativeTarget "Pods-MBRateApp_Example" */; 347 | buildPhases = ( 348 | BE2040E9890A43D430CFFACC55E1E648 /* Sources */, 349 | 78EA7664F9120EF66A2619CF4FD5F997 /* Frameworks */, 350 | 81545DD52EB40538D13321DE9613AE42 /* Headers */, 351 | ); 352 | buildRules = ( 353 | ); 354 | dependencies = ( 355 | E9850E738CE55CF627C5DC2B1873B2AD /* PBXTargetDependency */, 356 | ); 357 | name = "Pods-MBRateApp_Example"; 358 | productName = "Pods-MBRateApp_Example"; 359 | productReference = 99E3F10F9B669869A51D31BC555BBD0A /* Pods_MBRateApp_Example.framework */; 360 | productType = "com.apple.product-type.framework"; 361 | }; 362 | A859392624B7611D34D13E5130B6EC05 /* MBRateApp-MBRateApp */ = { 363 | isa = PBXNativeTarget; 364 | buildConfigurationList = 798ADB5744E391CD4BD780CFDF7E6558 /* Build configuration list for PBXNativeTarget "MBRateApp-MBRateApp" */; 365 | buildPhases = ( 366 | 232326F0376EDF8389AF3407E4FDE0DD /* Sources */, 367 | 5DF0A63EBD92987283C711353F119CD4 /* Frameworks */, 368 | 97301440C47EB005B2375BA5EC7DF861 /* Resources */, 369 | ); 370 | buildRules = ( 371 | ); 372 | dependencies = ( 373 | ); 374 | name = "MBRateApp-MBRateApp"; 375 | productName = "MBRateApp-MBRateApp"; 376 | productReference = 00B9F35E24A511D8A4599DE5BE23601C /* MBRateApp.bundle */; 377 | productType = "com.apple.product-type.bundle"; 378 | }; 379 | /* End PBXNativeTarget section */ 380 | 381 | /* Begin PBXProject section */ 382 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 383 | isa = PBXProject; 384 | attributes = { 385 | LastSwiftUpdateCheck = 0700; 386 | LastUpgradeCheck = 0700; 387 | TargetAttributes = { 388 | 0082F284B37CD74BF7AB89D6CA68C334 = { 389 | LastSwiftMigration = 0820; 390 | }; 391 | A859392624B7611D34D13E5130B6EC05 = { 392 | LastSwiftMigration = 0820; 393 | }; 394 | }; 395 | }; 396 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 397 | compatibilityVersion = "Xcode 3.2"; 398 | developmentRegion = English; 399 | hasScannedForEncodings = 0; 400 | knownRegions = ( 401 | en, 402 | ); 403 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 404 | productRefGroup = CCA510CFBEA2D207524CDA0D73C3B561 /* Products */; 405 | projectDirPath = ""; 406 | projectRoot = ""; 407 | targets = ( 408 | 0082F284B37CD74BF7AB89D6CA68C334 /* MBRateApp */, 409 | A859392624B7611D34D13E5130B6EC05 /* MBRateApp-MBRateApp */, 410 | 42A83614FC33058949F958AC738A71F9 /* Pods-MBRateApp_Example */, 411 | 32FFEC9C5B2B4522AC515DCBDCDB439F /* Pods-MBRateApp_Tests */, 412 | ); 413 | }; 414 | /* End PBXProject section */ 415 | 416 | /* Begin PBXResourcesBuildPhase section */ 417 | 97301440C47EB005B2375BA5EC7DF861 /* Resources */ = { 418 | isa = PBXResourcesBuildPhase; 419 | buildActionMask = 2147483647; 420 | files = ( 421 | ); 422 | runOnlyForDeploymentPostprocessing = 0; 423 | }; 424 | 9F056F33BB7B7EA1CB200AF595B1CB1F /* Resources */ = { 425 | isa = PBXResourcesBuildPhase; 426 | buildActionMask = 2147483647; 427 | files = ( 428 | 44A6DF671CC36AF900B5BC97 /* rateus_on.png in Resources */, 429 | 44A6DF681CC36AF900B5BC97 /* RateUs.storyboard in Resources */, 430 | 048D8E4C1E840C5D00A5ACD1 /* Pods-Info.plist in Resources */, 431 | 44A6DF661CC36AF900B5BC97 /* rateus_off.png in Resources */, 432 | 44A6DF651CC36AF900B5BC97 /* rateus_close.png in Resources */, 433 | EC16245D0A6A4DCF4E009E923DA82997 /* MBRateApp.bundle in Resources */, 434 | ); 435 | runOnlyForDeploymentPostprocessing = 0; 436 | }; 437 | /* End PBXResourcesBuildPhase section */ 438 | 439 | /* Begin PBXSourcesBuildPhase section */ 440 | 232326F0376EDF8389AF3407E4FDE0DD /* Sources */ = { 441 | isa = PBXSourcesBuildPhase; 442 | buildActionMask = 2147483647; 443 | files = ( 444 | ); 445 | runOnlyForDeploymentPostprocessing = 0; 446 | }; 447 | 7B4290509A9A9E6668BADBC3AFC13870 /* Sources */ = { 448 | isa = PBXSourcesBuildPhase; 449 | buildActionMask = 2147483647; 450 | files = ( 451 | FAE526C734B99CE4B51447844E96B482 /* Pods-MBRateApp_Tests-dummy.m in Sources */, 452 | ); 453 | runOnlyForDeploymentPostprocessing = 0; 454 | }; 455 | B9BD56AC165BEC8DC44E5EE400FF1F10 /* Sources */ = { 456 | isa = PBXSourcesBuildPhase; 457 | buildActionMask = 2147483647; 458 | files = ( 459 | 4E76365609A44AFDB0E5D7E57B80A86A /* MBRateApp-dummy.m in Sources */, 460 | 446DBEB41CC2F90B002CC9C2 /* MBRateUsViewController.swift in Sources */, 461 | CBBEAC680B9385BD59B5065A2A2BA773 /* MBRateUs.swift in Sources */, 462 | ); 463 | runOnlyForDeploymentPostprocessing = 0; 464 | }; 465 | BE2040E9890A43D430CFFACC55E1E648 /* Sources */ = { 466 | isa = PBXSourcesBuildPhase; 467 | buildActionMask = 2147483647; 468 | files = ( 469 | D840C24C9F6F7C701072AA62C8F097E1 /* Pods-MBRateApp_Example-dummy.m in Sources */, 470 | ); 471 | runOnlyForDeploymentPostprocessing = 0; 472 | }; 473 | /* End PBXSourcesBuildPhase section */ 474 | 475 | /* Begin PBXTargetDependency section */ 476 | 99D90E3FB33A972D88F5D09A3F94C143 /* PBXTargetDependency */ = { 477 | isa = PBXTargetDependency; 478 | name = MBRateApp; 479 | target = 0082F284B37CD74BF7AB89D6CA68C334 /* MBRateApp */; 480 | targetProxy = 6E2AD1564C747FEAC6833A71C2D2E9B4 /* PBXContainerItemProxy */; 481 | }; 482 | B2BAD529A622B567B85D9F8F856FB0A4 /* PBXTargetDependency */ = { 483 | isa = PBXTargetDependency; 484 | name = "MBRateApp-MBRateApp"; 485 | target = A859392624B7611D34D13E5130B6EC05 /* MBRateApp-MBRateApp */; 486 | targetProxy = AB2DD1CB869774E6CEEA1D6B9D3BC926 /* PBXContainerItemProxy */; 487 | }; 488 | E9850E738CE55CF627C5DC2B1873B2AD /* PBXTargetDependency */ = { 489 | isa = PBXTargetDependency; 490 | name = MBRateApp; 491 | target = 0082F284B37CD74BF7AB89D6CA68C334 /* MBRateApp */; 492 | targetProxy = 7B6CD868B9B3FBA52CF2756CA1D5E6F7 /* PBXContainerItemProxy */; 493 | }; 494 | /* End PBXTargetDependency section */ 495 | 496 | /* Begin XCBuildConfiguration section */ 497 | 0E370CDE87E5CA6D070FAAD47215DDC4 /* Debug */ = { 498 | isa = XCBuildConfiguration; 499 | baseConfigurationReference = F840513D1891AA3735E4CCF5107D4268 /* MBRateApp-Private.xcconfig */; 500 | buildSettings = { 501 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 502 | CURRENT_PROJECT_VERSION = 0.1.0; 503 | DEFINES_MODULE = YES; 504 | DYLIB_COMPATIBILITY_VERSION = 0.1.0; 505 | DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; 506 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 507 | ENABLE_STRICT_OBJC_MSGSEND = YES; 508 | GCC_PREFIX_HEADER = "Target Support Files/MBRateApp/MBRateApp-prefix.pch"; 509 | INFOPLIST_FILE = "Target Support Files/MBRateApp/Info.plist"; 510 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 511 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 512 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 513 | MODULEMAP_FILE = "Target Support Files/MBRateApp/MBRateApp.modulemap"; 514 | MTL_ENABLE_DEBUG_INFO = YES; 515 | PRODUCT_NAME = MBRateApp; 516 | SDKROOT = iphoneos; 517 | SKIP_INSTALL = YES; 518 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 519 | SWIFT_VERSION = 3.0; 520 | TARGETED_DEVICE_FAMILY = "1,2"; 521 | VERSIONING_SYSTEM = "apple-generic"; 522 | VERSION_INFO_PREFIX = ""; 523 | }; 524 | name = Debug; 525 | }; 526 | 10DE1947DAC0ED28F6C0A9F9BD75D546 /* Release */ = { 527 | isa = XCBuildConfiguration; 528 | buildSettings = { 529 | ALWAYS_SEARCH_USER_PATHS = NO; 530 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 531 | CLANG_CXX_LIBRARY = "libc++"; 532 | CLANG_ENABLE_MODULES = YES; 533 | CLANG_ENABLE_OBJC_ARC = YES; 534 | CLANG_WARN_BOOL_CONVERSION = YES; 535 | CLANG_WARN_CONSTANT_CONVERSION = YES; 536 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 537 | CLANG_WARN_EMPTY_BODY = YES; 538 | CLANG_WARN_ENUM_CONVERSION = YES; 539 | CLANG_WARN_INT_CONVERSION = YES; 540 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 541 | CLANG_WARN_UNREACHABLE_CODE = YES; 542 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 543 | COPY_PHASE_STRIP = YES; 544 | ENABLE_NS_ASSERTIONS = NO; 545 | GCC_C_LANGUAGE_STANDARD = gnu99; 546 | GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1"; 547 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 548 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 549 | GCC_WARN_UNDECLARED_SELECTOR = YES; 550 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 551 | GCC_WARN_UNUSED_FUNCTION = YES; 552 | GCC_WARN_UNUSED_VARIABLE = YES; 553 | INFOPLIST_FILE = "Pods-Info.plist"; 554 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 555 | STRIP_INSTALLED_PRODUCT = NO; 556 | SYMROOT = "${SRCROOT}/../build"; 557 | VALIDATE_PRODUCT = YES; 558 | }; 559 | name = Release; 560 | }; 561 | 1404CFB042B74C627EF3AFA465C3BED6 /* Release */ = { 562 | isa = XCBuildConfiguration; 563 | baseConfigurationReference = 8F47F7614C964506C7C68534832ED2A7 /* Pods-MBRateApp_Example.release.xcconfig */; 564 | buildSettings = { 565 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 566 | CURRENT_PROJECT_VERSION = 1; 567 | DEFINES_MODULE = YES; 568 | DYLIB_COMPATIBILITY_VERSION = 1; 569 | DYLIB_CURRENT_VERSION = 1; 570 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 571 | ENABLE_STRICT_OBJC_MSGSEND = YES; 572 | INFOPLIST_FILE = "Target Support Files/Pods-MBRateApp_Example/Info.plist"; 573 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 574 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 575 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 576 | MODULEMAP_FILE = "Target Support Files/Pods-MBRateApp_Example/Pods-MBRateApp_Example.modulemap"; 577 | MTL_ENABLE_DEBUG_INFO = NO; 578 | OTHER_LDFLAGS = ""; 579 | OTHER_LIBTOOLFLAGS = ""; 580 | PODS_ROOT = "$(SRCROOT)"; 581 | PRODUCT_NAME = Pods_MBRateApp_Example; 582 | SDKROOT = iphoneos; 583 | SKIP_INSTALL = YES; 584 | TARGETED_DEVICE_FAMILY = "1,2"; 585 | VERSIONING_SYSTEM = "apple-generic"; 586 | VERSION_INFO_PREFIX = ""; 587 | }; 588 | name = Release; 589 | }; 590 | 1491A6D769B041B056DCC79F8F9444EF /* Release */ = { 591 | isa = XCBuildConfiguration; 592 | baseConfigurationReference = 9D4566D6317C86951E4F49DFEDDFE851 /* Pods-MBRateApp_Tests.release.xcconfig */; 593 | buildSettings = { 594 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 595 | CURRENT_PROJECT_VERSION = 1; 596 | DEFINES_MODULE = YES; 597 | DYLIB_COMPATIBILITY_VERSION = 1; 598 | DYLIB_CURRENT_VERSION = 1; 599 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 600 | ENABLE_STRICT_OBJC_MSGSEND = YES; 601 | INFOPLIST_FILE = "Target Support Files/Pods-MBRateApp_Tests/Info.plist"; 602 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 603 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 604 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 605 | MODULEMAP_FILE = "Target Support Files/Pods-MBRateApp_Tests/Pods-MBRateApp_Tests.modulemap"; 606 | MTL_ENABLE_DEBUG_INFO = NO; 607 | OTHER_LDFLAGS = ""; 608 | OTHER_LIBTOOLFLAGS = ""; 609 | PODS_ROOT = "$(SRCROOT)"; 610 | PRODUCT_NAME = Pods_MBRateApp_Tests; 611 | SDKROOT = iphoneos; 612 | SKIP_INSTALL = YES; 613 | TARGETED_DEVICE_FAMILY = "1,2"; 614 | VERSIONING_SYSTEM = "apple-generic"; 615 | VERSION_INFO_PREFIX = ""; 616 | }; 617 | name = Release; 618 | }; 619 | 308FD4DD51AA9A75CE20471CDA291746 /* Debug */ = { 620 | isa = XCBuildConfiguration; 621 | baseConfigurationReference = FC83C3BFEB43EE0D274A03C5D548A82C /* Pods-MBRateApp_Tests.debug.xcconfig */; 622 | buildSettings = { 623 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 624 | CURRENT_PROJECT_VERSION = 1; 625 | DEFINES_MODULE = YES; 626 | DYLIB_COMPATIBILITY_VERSION = 1; 627 | DYLIB_CURRENT_VERSION = 1; 628 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 629 | ENABLE_STRICT_OBJC_MSGSEND = YES; 630 | INFOPLIST_FILE = "Target Support Files/Pods-MBRateApp_Tests/Info.plist"; 631 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 632 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 633 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 634 | MODULEMAP_FILE = "Target Support Files/Pods-MBRateApp_Tests/Pods-MBRateApp_Tests.modulemap"; 635 | MTL_ENABLE_DEBUG_INFO = YES; 636 | OTHER_LDFLAGS = ""; 637 | OTHER_LIBTOOLFLAGS = ""; 638 | PODS_ROOT = "$(SRCROOT)"; 639 | PRODUCT_NAME = Pods_MBRateApp_Tests; 640 | SDKROOT = iphoneos; 641 | SKIP_INSTALL = YES; 642 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 643 | TARGETED_DEVICE_FAMILY = "1,2"; 644 | VERSIONING_SYSTEM = "apple-generic"; 645 | VERSION_INFO_PREFIX = ""; 646 | }; 647 | name = Debug; 648 | }; 649 | 3A1057140EB6F1CA764E5EA318364E28 /* Release */ = { 650 | isa = XCBuildConfiguration; 651 | baseConfigurationReference = F840513D1891AA3735E4CCF5107D4268 /* MBRateApp-Private.xcconfig */; 652 | buildSettings = { 653 | ENABLE_STRICT_OBJC_MSGSEND = YES; 654 | PRODUCT_NAME = MBRateApp; 655 | SDKROOT = iphoneos; 656 | SKIP_INSTALL = YES; 657 | SWIFT_VERSION = 3.0; 658 | WRAPPER_EXTENSION = bundle; 659 | }; 660 | name = Release; 661 | }; 662 | 552D02D5BA751AC2E8790D2811D496CA /* Debug */ = { 663 | isa = XCBuildConfiguration; 664 | buildSettings = { 665 | ALWAYS_SEARCH_USER_PATHS = NO; 666 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 667 | CLANG_CXX_LIBRARY = "libc++"; 668 | CLANG_ENABLE_MODULES = YES; 669 | CLANG_ENABLE_OBJC_ARC = YES; 670 | CLANG_WARN_BOOL_CONVERSION = YES; 671 | CLANG_WARN_CONSTANT_CONVERSION = YES; 672 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 673 | CLANG_WARN_EMPTY_BODY = YES; 674 | CLANG_WARN_ENUM_CONVERSION = YES; 675 | CLANG_WARN_INT_CONVERSION = YES; 676 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 677 | CLANG_WARN_UNREACHABLE_CODE = YES; 678 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 679 | COPY_PHASE_STRIP = NO; 680 | GCC_C_LANGUAGE_STANDARD = gnu99; 681 | GCC_DYNAMIC_NO_PIC = NO; 682 | GCC_OPTIMIZATION_LEVEL = 0; 683 | GCC_PREPROCESSOR_DEFINITIONS = ( 684 | "DEBUG=1", 685 | "$(inherited)", 686 | ); 687 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 688 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 689 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 690 | GCC_WARN_UNDECLARED_SELECTOR = YES; 691 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 692 | GCC_WARN_UNUSED_FUNCTION = YES; 693 | GCC_WARN_UNUSED_VARIABLE = YES; 694 | INFOPLIST_FILE = "Pods-Info.plist"; 695 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 696 | ONLY_ACTIVE_ARCH = YES; 697 | STRIP_INSTALLED_PRODUCT = NO; 698 | SYMROOT = "${SRCROOT}/../build"; 699 | }; 700 | name = Debug; 701 | }; 702 | 73353AE7F78BF6C70820EA219A79C376 /* Debug */ = { 703 | isa = XCBuildConfiguration; 704 | baseConfigurationReference = F840513D1891AA3735E4CCF5107D4268 /* MBRateApp-Private.xcconfig */; 705 | buildSettings = { 706 | ENABLE_STRICT_OBJC_MSGSEND = YES; 707 | PRODUCT_NAME = MBRateApp; 708 | SDKROOT = iphoneos; 709 | SKIP_INSTALL = YES; 710 | SWIFT_VERSION = 3.0; 711 | WRAPPER_EXTENSION = bundle; 712 | }; 713 | name = Debug; 714 | }; 715 | 7C0333A8008CC61B99293CD0B0E5A00F /* Release */ = { 716 | isa = XCBuildConfiguration; 717 | baseConfigurationReference = F840513D1891AA3735E4CCF5107D4268 /* MBRateApp-Private.xcconfig */; 718 | buildSettings = { 719 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 720 | CURRENT_PROJECT_VERSION = 0.1.0; 721 | DEFINES_MODULE = YES; 722 | DYLIB_COMPATIBILITY_VERSION = 0.1.0; 723 | DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; 724 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 725 | ENABLE_STRICT_OBJC_MSGSEND = YES; 726 | GCC_PREFIX_HEADER = "Target Support Files/MBRateApp/MBRateApp-prefix.pch"; 727 | INFOPLIST_FILE = "Target Support Files/MBRateApp/Info.plist"; 728 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 729 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 730 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 731 | MODULEMAP_FILE = "Target Support Files/MBRateApp/MBRateApp.modulemap"; 732 | MTL_ENABLE_DEBUG_INFO = NO; 733 | PRODUCT_NAME = MBRateApp; 734 | SDKROOT = iphoneos; 735 | SKIP_INSTALL = YES; 736 | SWIFT_VERSION = 3.0; 737 | TARGETED_DEVICE_FAMILY = "1,2"; 738 | VERSIONING_SYSTEM = "apple-generic"; 739 | VERSION_INFO_PREFIX = ""; 740 | }; 741 | name = Release; 742 | }; 743 | 872D6FDEF5A143E82C886CDA51875C3D /* Debug */ = { 744 | isa = XCBuildConfiguration; 745 | baseConfigurationReference = 4B1F57948E2490D62D791B8DF8CD7FAD /* Pods-MBRateApp_Example.debug.xcconfig */; 746 | buildSettings = { 747 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 748 | CURRENT_PROJECT_VERSION = 1; 749 | DEFINES_MODULE = YES; 750 | DYLIB_COMPATIBILITY_VERSION = 1; 751 | DYLIB_CURRENT_VERSION = 1; 752 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 753 | ENABLE_STRICT_OBJC_MSGSEND = YES; 754 | INFOPLIST_FILE = "Target Support Files/Pods-MBRateApp_Example/Info.plist"; 755 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 756 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 757 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 758 | MODULEMAP_FILE = "Target Support Files/Pods-MBRateApp_Example/Pods-MBRateApp_Example.modulemap"; 759 | MTL_ENABLE_DEBUG_INFO = YES; 760 | OTHER_LDFLAGS = ""; 761 | OTHER_LIBTOOLFLAGS = ""; 762 | PODS_ROOT = "$(SRCROOT)"; 763 | PRODUCT_NAME = Pods_MBRateApp_Example; 764 | SDKROOT = iphoneos; 765 | SKIP_INSTALL = YES; 766 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 767 | TARGETED_DEVICE_FAMILY = "1,2"; 768 | VERSIONING_SYSTEM = "apple-generic"; 769 | VERSION_INFO_PREFIX = ""; 770 | }; 771 | name = Debug; 772 | }; 773 | /* End XCBuildConfiguration section */ 774 | 775 | /* Begin XCConfigurationList section */ 776 | 2711ADF7A9B4DE887139A16545ECE6CD /* Build configuration list for PBXNativeTarget "Pods-MBRateApp_Example" */ = { 777 | isa = XCConfigurationList; 778 | buildConfigurations = ( 779 | 872D6FDEF5A143E82C886CDA51875C3D /* Debug */, 780 | 1404CFB042B74C627EF3AFA465C3BED6 /* Release */, 781 | ); 782 | defaultConfigurationIsVisible = 0; 783 | defaultConfigurationName = Release; 784 | }; 785 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 786 | isa = XCConfigurationList; 787 | buildConfigurations = ( 788 | 552D02D5BA751AC2E8790D2811D496CA /* Debug */, 789 | 10DE1947DAC0ED28F6C0A9F9BD75D546 /* Release */, 790 | ); 791 | defaultConfigurationIsVisible = 0; 792 | defaultConfigurationName = Release; 793 | }; 794 | 75FB8B503D0A711A3642C7833972809B /* Build configuration list for PBXNativeTarget "Pods-MBRateApp_Tests" */ = { 795 | isa = XCConfigurationList; 796 | buildConfigurations = ( 797 | 308FD4DD51AA9A75CE20471CDA291746 /* Debug */, 798 | 1491A6D769B041B056DCC79F8F9444EF /* Release */, 799 | ); 800 | defaultConfigurationIsVisible = 0; 801 | defaultConfigurationName = Release; 802 | }; 803 | 798ADB5744E391CD4BD780CFDF7E6558 /* Build configuration list for PBXNativeTarget "MBRateApp-MBRateApp" */ = { 804 | isa = XCConfigurationList; 805 | buildConfigurations = ( 806 | 73353AE7F78BF6C70820EA219A79C376 /* Debug */, 807 | 3A1057140EB6F1CA764E5EA318364E28 /* Release */, 808 | ); 809 | defaultConfigurationIsVisible = 0; 810 | defaultConfigurationName = Release; 811 | }; 812 | 8EAFF32A2B68280FAAE65026618B884C /* Build configuration list for PBXNativeTarget "MBRateApp" */ = { 813 | isa = XCConfigurationList; 814 | buildConfigurations = ( 815 | 0E370CDE87E5CA6D070FAAD47215DDC4 /* Debug */, 816 | 7C0333A8008CC61B99293CD0B0E5A00F /* Release */, 817 | ); 818 | defaultConfigurationIsVisible = 0; 819 | defaultConfigurationName = Release; 820 | }; 821 | /* End XCConfigurationList section */ 822 | }; 823 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 824 | } 825 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/MBRateApp.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 47 | 48 | 54 | 55 | 57 | 58 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MBRateApp/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MBRateApp/MBRateApp-Private.xcconfig: -------------------------------------------------------------------------------- 1 | #include "MBRateApp.xcconfig" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/MBRateApp" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_ROOT = ${SRCROOT} 6 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MBRateApp/MBRateApp-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_MBRateApp : NSObject 3 | @end 4 | @implementation PodsDummy_MBRateApp 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MBRateApp/MBRateApp-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MBRateApp/MBRateApp-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double MBRateAppVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char MBRateAppVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MBRateApp/MBRateApp.modulemap: -------------------------------------------------------------------------------- 1 | framework module MBRateApp { 2 | umbrella header "MBRateApp-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MBRateApp/MBRateApp.xcconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatiBot/MBRateApp/72985dd6f5f460a83d3c2713c2f32fdeca685ddf/Example/Pods/Target Support Files/MBRateApp/MBRateApp.xcconfig -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Example/Pods-MBRateApp_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## MBRateApp 5 | 6 | Copyright (c) 2016 Mati Bot 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - http://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Example/Pods-MBRateApp_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2016 Mati Bot <matibot@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 | Title 38 | MBRateApp 39 | Type 40 | PSGroupSpecifier 41 | 42 | 43 | FooterText 44 | Generated by CocoaPods - http://cocoapods.org 45 | Title 46 | 47 | Type 48 | PSGroupSpecifier 49 | 50 | 51 | StringsTable 52 | Acknowledgements 53 | Title 54 | Acknowledgements 55 | 56 | 57 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Example/Pods-MBRateApp_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_MBRateApp_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_MBRateApp_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Example/Pods-MBRateApp_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | else 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | fi 16 | 17 | local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | 19 | if [ -L "${source}" ]; then 20 | echo "Symlinked..." 21 | source="$(readlink "${source}")" 22 | fi 23 | 24 | # use filter instead of exclude so missing patterns dont' throw errors 25 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 26 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 27 | 28 | # Resign the code if required by the build settings to avoid unstable apps 29 | code_sign_if_enabled "${destination}/$(basename "$1")" 30 | 31 | # Embed linked Swift runtime libraries 32 | local basename 33 | basename="$(basename "$1" | sed -E s/\\..+// && exit ${PIPESTATUS[0]})" 34 | local swift_runtime_libs 35 | swift_runtime_libs=$(xcrun otool -LX "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/${basename}.framework/${basename}" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 36 | for lib in $swift_runtime_libs; do 37 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 38 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 39 | code_sign_if_enabled "${destination}/${lib}" 40 | done 41 | } 42 | 43 | # Signs a framework with the provided identity 44 | code_sign_if_enabled() { 45 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 46 | # Use the current code_sign_identitiy 47 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 48 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" 49 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" 50 | fi 51 | } 52 | 53 | 54 | if [[ "$CONFIGURATION" == "Debug" ]]; then 55 | install_framework 'Pods-MBRateApp_Example/MBRateApp.framework' 56 | fi 57 | if [[ "$CONFIGURATION" == "Release" ]]; then 58 | install_framework 'Pods-MBRateApp_Example/MBRateApp.framework' 59 | fi 60 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Example/Pods-MBRateApp_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | realpath() { 12 | DIRECTORY="$(cd "${1%/*}" && pwd)" 13 | FILENAME="${1##*/}" 14 | echo "$DIRECTORY/$FILENAME" 15 | } 16 | 17 | install_resource() 18 | { 19 | case $1 in 20 | *.storyboard) 21 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 22 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 23 | ;; 24 | *.xib) 25 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 26 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 27 | ;; 28 | *.framework) 29 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 30 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 31 | echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 32 | rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 33 | ;; 34 | *.xcdatamodel) 35 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" 36 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" 37 | ;; 38 | *.xcdatamodeld) 39 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" 40 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" 41 | ;; 42 | *.xcmappingmodel) 43 | echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" 44 | xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" 45 | ;; 46 | *.xcassets) 47 | ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") 48 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 49 | ;; 50 | /*) 51 | echo "$1" 52 | echo "$1" >> "$RESOURCES_TO_COPY" 53 | ;; 54 | *) 55 | echo "${PODS_ROOT}/$1" 56 | echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" 57 | ;; 58 | esac 59 | } 60 | 61 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 62 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 63 | if [[ "${ACTION}" == "install" ]]; then 64 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 65 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 66 | fi 67 | rm -f "$RESOURCES_TO_COPY" 68 | 69 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 70 | then 71 | case "${TARGETED_DEVICE_FAMILY}" in 72 | 1,2) 73 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 74 | ;; 75 | 1) 76 | TARGET_DEVICE_ARGS="--target-device iphone" 77 | ;; 78 | 2) 79 | TARGET_DEVICE_ARGS="--target-device ipad" 80 | ;; 81 | *) 82 | TARGET_DEVICE_ARGS="--target-device mac" 83 | ;; 84 | esac 85 | 86 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 87 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 88 | while read line; do 89 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 90 | XCASSET_FILES+=("$line") 91 | fi 92 | done <<<"$OTHER_XCASSETS" 93 | 94 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 95 | fi 96 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Example/Pods-MBRateApp_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_MBRateApp_ExampleVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_MBRateApp_ExampleVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Example/Pods-MBRateApp_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/MBRateApp.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "MBRateApp" 5 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 6 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-MBRateApp_Example 7 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Example/Pods-MBRateApp_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_MBRateApp_Example { 2 | umbrella header "Pods-MBRateApp_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Example/Pods-MBRateApp_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/MBRateApp.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "MBRateApp" 5 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 6 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-MBRateApp_Example 7 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Tests/Pods-MBRateApp_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## MBRateApp 5 | 6 | Copyright (c) 2016 Mati Bot 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - http://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Tests/Pods-MBRateApp_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2016 Mati Bot <matibot@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 | Title 38 | MBRateApp 39 | Type 40 | PSGroupSpecifier 41 | 42 | 43 | FooterText 44 | Generated by CocoaPods - http://cocoapods.org 45 | Title 46 | 47 | Type 48 | PSGroupSpecifier 49 | 50 | 51 | StringsTable 52 | Acknowledgements 53 | Title 54 | Acknowledgements 55 | 56 | 57 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Tests/Pods-MBRateApp_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_MBRateApp_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_MBRateApp_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Tests/Pods-MBRateApp_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | else 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | fi 16 | 17 | local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | 19 | if [ -L "${source}" ]; then 20 | echo "Symlinked..." 21 | source="$(readlink "${source}")" 22 | fi 23 | 24 | # use filter instead of exclude so missing patterns dont' throw errors 25 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 26 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 27 | 28 | # Resign the code if required by the build settings to avoid unstable apps 29 | code_sign_if_enabled "${destination}/$(basename "$1")" 30 | 31 | # Embed linked Swift runtime libraries 32 | local basename 33 | basename="$(basename "$1" | sed -E s/\\..+// && exit ${PIPESTATUS[0]})" 34 | local swift_runtime_libs 35 | swift_runtime_libs=$(xcrun otool -LX "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/${basename}.framework/${basename}" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 36 | for lib in $swift_runtime_libs; do 37 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 38 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 39 | code_sign_if_enabled "${destination}/${lib}" 40 | done 41 | } 42 | 43 | # Signs a framework with the provided identity 44 | code_sign_if_enabled() { 45 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 46 | # Use the current code_sign_identitiy 47 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 48 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" 49 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" 50 | fi 51 | } 52 | 53 | 54 | if [[ "$CONFIGURATION" == "Debug" ]]; then 55 | install_framework 'Pods-MBRateApp_Tests/MBRateApp.framework' 56 | fi 57 | if [[ "$CONFIGURATION" == "Release" ]]; then 58 | install_framework 'Pods-MBRateApp_Tests/MBRateApp.framework' 59 | fi 60 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Tests/Pods-MBRateApp_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | realpath() { 12 | DIRECTORY="$(cd "${1%/*}" && pwd)" 13 | FILENAME="${1##*/}" 14 | echo "$DIRECTORY/$FILENAME" 15 | } 16 | 17 | install_resource() 18 | { 19 | case $1 in 20 | *.storyboard) 21 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 22 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 23 | ;; 24 | *.xib) 25 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 26 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 27 | ;; 28 | *.framework) 29 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 30 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 31 | echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 32 | rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 33 | ;; 34 | *.xcdatamodel) 35 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" 36 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" 37 | ;; 38 | *.xcdatamodeld) 39 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" 40 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" 41 | ;; 42 | *.xcmappingmodel) 43 | echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" 44 | xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" 45 | ;; 46 | *.xcassets) 47 | ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") 48 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 49 | ;; 50 | /*) 51 | echo "$1" 52 | echo "$1" >> "$RESOURCES_TO_COPY" 53 | ;; 54 | *) 55 | echo "${PODS_ROOT}/$1" 56 | echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" 57 | ;; 58 | esac 59 | } 60 | 61 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 62 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 63 | if [[ "${ACTION}" == "install" ]]; then 64 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 65 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 66 | fi 67 | rm -f "$RESOURCES_TO_COPY" 68 | 69 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 70 | then 71 | case "${TARGETED_DEVICE_FAMILY}" in 72 | 1,2) 73 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 74 | ;; 75 | 1) 76 | TARGET_DEVICE_ARGS="--target-device iphone" 77 | ;; 78 | 2) 79 | TARGET_DEVICE_ARGS="--target-device ipad" 80 | ;; 81 | *) 82 | TARGET_DEVICE_ARGS="--target-device mac" 83 | ;; 84 | esac 85 | 86 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 87 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 88 | while read line; do 89 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 90 | XCASSET_FILES+=("$line") 91 | fi 92 | done <<<"$OTHER_XCASSETS" 93 | 94 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 95 | fi 96 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Tests/Pods-MBRateApp_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_MBRateApp_TestsVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_MBRateApp_TestsVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Tests/Pods-MBRateApp_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/MBRateApp.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "MBRateApp" 5 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 6 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-MBRateApp_Tests 7 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Tests/Pods-MBRateApp_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_MBRateApp_Tests { 2 | umbrella header "Pods-MBRateApp_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MBRateApp_Tests/Pods-MBRateApp_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/MBRateApp.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "MBRateApp" 5 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 6 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-MBRateApp_Tests 7 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import MBRateApp 4 | 5 | class Tests: XCTestCase { 6 | 7 | override func setUp() { 8 | super.setUp() 9 | // Put setup code here. This method is called before the invocation of each test method in the class. 10 | } 11 | 12 | override func tearDown() { 13 | // Put teardown code here. This method is called after the invocation of each test method in the class. 14 | super.tearDown() 15 | } 16 | 17 | func testExample() { 18 | // This is an example of a functional test case. 19 | XCTAssert(true, "Pass") 20 | } 21 | 22 | func testPerformanceExample() { 23 | // This is an example of a performance test case. 24 | self.measureBlock() { 25 | // Put the code you want to measure the time of here. 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016 Mati Bot 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 | -------------------------------------------------------------------------------- /MBRateApp.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint MBRateApp.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = "MBRateApp" 11 | s.version = "0.1.3" 12 | s.summary = "A customizable interstitial app rate screen with cool design" 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = <<-DESC 21 | A customizable interstitial app rate screen with cool design. 22 | You can change the colors of almost every element on the screen and get callbacks of what the user chose to do. 23 | DESC 24 | 25 | s.homepage = "https://github.com/matibot/MBRateApp" 26 | # s.screenshots = "https://raw.githubusercontent.com/MatiBot/MBRateApp/master/Screenshots/screenshot1.png", "https://raw.githubusercontent.com/MatiBot/MBRateApp/master/Screenshots/screenshot2.png" 27 | s.license = 'MIT' 28 | s.author = { "Mati Bot" => "os@mati.bot" } 29 | s.source = { :git => "https://github.com/matibot/MBRateApp.git", :tag => s.version.to_s } 30 | # s.social_media_url = 'https://twitter.com/b0tnik' 31 | 32 | s.ios.deployment_target = '8.0' 33 | 34 | s.source_files = 'MBRateApp/Classes/**/*' 35 | 36 | # s.resource_bundles = { 37 | # 'MBRateApp' => ['Pod/Assets/*.png'] 38 | # } 39 | 40 | s.resources = 'MBRateApp/Assets/**/*.{storyboard,png}' 41 | 42 | 43 | # s.public_header_files = 'Pod/Classes/**/*.h' 44 | # s.frameworks = 'UIKit', 'MapKit' 45 | # s.dependency 'AFNetworking', '~> 2.3' 46 | end 47 | -------------------------------------------------------------------------------- /MBRateApp/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatiBot/MBRateApp/72985dd6f5f460a83d3c2713c2f32fdeca685ddf/MBRateApp/Assets/.gitkeep -------------------------------------------------------------------------------- /MBRateApp/Assets/RateUs.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 | 38 | 43 | 44 | 45 | 46 | 59 | 72 | 85 | 98 | 111 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 141 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | -------------------------------------------------------------------------------- /MBRateApp/Assets/rateus_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatiBot/MBRateApp/72985dd6f5f460a83d3c2713c2f32fdeca685ddf/MBRateApp/Assets/rateus_close.png -------------------------------------------------------------------------------- /MBRateApp/Assets/rateus_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatiBot/MBRateApp/72985dd6f5f460a83d3c2713c2f32fdeca685ddf/MBRateApp/Assets/rateus_off.png -------------------------------------------------------------------------------- /MBRateApp/Assets/rateus_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatiBot/MBRateApp/72985dd6f5f460a83d3c2713c2f32fdeca685ddf/MBRateApp/Assets/rateus_on.png -------------------------------------------------------------------------------- /MBRateApp/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatiBot/MBRateApp/72985dd6f5f460a83d3c2713c2f32fdeca685ddf/MBRateApp/Classes/.gitkeep -------------------------------------------------------------------------------- /MBRateApp/Classes/MBRateUs.swift: -------------------------------------------------------------------------------- 1 | // 2 | // MBRateUs.swift 3 | // Pods 4 | // 5 | // Created by Mati Bot on 16/04/2016. 6 | // 7 | // 8 | 9 | import Foundation 10 | 11 | 12 | open class MBRateUs{ 13 | 14 | open static let sharedInstance = MBRateUs() 15 | 16 | open var rateUsInfo = MBRateUsInfo() 17 | 18 | open func showRateUs(_ base:UIViewController, positiveBlock:@escaping ()->Void, negativeBlock:@escaping ()->Void, dismissBlock:@escaping ()->Void){ 19 | let podBundle = Bundle(for: type(of: self)) 20 | let storyboard = UIStoryboard(name: "RateUs", bundle: podBundle) 21 | let vc = storyboard.instantiateInitialViewController() as! MBRateUsViewController 22 | 23 | vc.positiveBlock = positiveBlock 24 | vc.negativeBlock = negativeBlock 25 | vc.dismissBlock = dismissBlock 26 | 27 | vc.rateUsInfo = self.rateUsInfo 28 | 29 | base.present(vc, animated: true, completion: nil) 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /MBRateApp/Classes/MBRateUsViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // MBRateUsViewController.swift 3 | // Pods 4 | // 5 | // Created by Mati Bot on 16/04/2016. 6 | // 7 | // 8 | 9 | import Foundation 10 | 11 | public struct MBRateUsInfo { 12 | 13 | public init() { } 14 | 15 | public var title = "Enjoying this app?" 16 | public var subtitle = "Please rate your experience" 17 | public var positive = "Awesome!" 18 | public var negative = "Darn. we should have been better." 19 | public var backgroundColor = UIColor.white 20 | public var positiveButtonColor = UIColor.blue 21 | public var negativeButtonColor = UIColor.blue 22 | public var textColor = UIColor.black 23 | public var emptyStarImage = nil as UIImage? 24 | public var fullStarImage = nil as UIImage? 25 | public var titleImage = nil as UIImage? 26 | public var dismissButtonColor = UIColor.black 27 | public var itunesId = nil as String? 28 | } 29 | 30 | 31 | class MBRateUsViewController : UIViewController { 32 | 33 | required init?(coder aDecoder: NSCoder) { 34 | shouldRate = false 35 | let podBundle = Bundle(for: type(of: self)) 36 | 37 | starImageOn = UIImage(named: "rateus_on", in: podBundle, compatibleWith: nil)! 38 | starImageOff = UIImage(named: "rateus_off", in: podBundle, compatibleWith: nil)! 39 | 40 | super.init(coder: aDecoder) 41 | } 42 | 43 | 44 | @IBOutlet weak var imageView: UIImageView! 45 | @IBOutlet var resultLabel : UILabel! 46 | @IBOutlet var starsMask : UIView! 47 | @IBOutlet var callToActionButton : UIButton! 48 | @IBOutlet var starButtons : [UIButton]! 49 | 50 | @IBOutlet weak var subtitleLabel: UILabel! 51 | @IBOutlet weak var titleLabel: UILabel! 52 | @IBOutlet weak var dismissButton: UIButton! 53 | 54 | var rateUsInfo : MBRateUsInfo? 55 | var positiveBlock : (()->Void)? 56 | var negativeBlock : (()->Void)? 57 | var dismissBlock : (()->Void)? 58 | 59 | var shouldRate : Bool 60 | var starImageOn : UIImage 61 | var starImageOff : UIImage 62 | 63 | override func viewDidLoad() { 64 | super.viewDidLoad() 65 | 66 | self.callToActionButton.layer.cornerRadius = 6.0 67 | 68 | self.titleLabel.text = self.rateUsInfo?.title 69 | self.subtitleLabel.text = self.rateUsInfo?.subtitle 70 | self.view.backgroundColor = self.rateUsInfo?.backgroundColor 71 | self.titleLabel.textColor = self.rateUsInfo?.textColor 72 | self.subtitleLabel.textColor = self.rateUsInfo?.textColor 73 | self.resultLabel.textColor = self.rateUsInfo?.textColor 74 | 75 | if let fullStar = self.rateUsInfo?.fullStarImage { 76 | self.starImageOn = fullStar 77 | } 78 | 79 | if let emptyStar = self.rateUsInfo?.fullStarImage { 80 | self.starImageOff = emptyStar 81 | } 82 | 83 | for button: UIButton in self.starButtons { 84 | button.setImage(starImageOff, for: UIControlState()) 85 | } 86 | 87 | self.imageView.image = self.rateUsInfo?.titleImage 88 | 89 | self.dismissButton.tintColor = self.rateUsInfo?.dismissButtonColor 90 | } 91 | 92 | 93 | @IBAction func dismiss(_ sender: UIButton) { 94 | self.dismiss(animated: true, completion: { _ in self.dismissBlock?()}) 95 | } 96 | 97 | @IBAction func starTouchedDown(_ sender: UIButton) { 98 | for button: UIButton in self.starButtons { 99 | if button.tag <= sender.tag { 100 | button.setImage(starImageOn, for: UIControlState()) 101 | } 102 | } 103 | } 104 | 105 | @IBAction func starTouchedOutside(_ sender: UIButton) { 106 | for button: UIButton in self.starButtons { 107 | if button.tag <= sender.tag { 108 | button.setImage(starImageOff, for: UIControlState()) 109 | } 110 | } 111 | } 112 | 113 | @IBAction func starTouched(_ sender: UIButton) { 114 | self.starsMask.isHidden = false 115 | if sender.tag >= 4 { 116 | self.resultLabel.text = self.rateUsInfo?.positive 117 | self.callToActionButton.setTitle("Rate in the AppStore", for: UIControlState()) 118 | self.shouldRate = true 119 | self.callToActionButton.backgroundColor = self.rateUsInfo?.positiveButtonColor 120 | } 121 | else { 122 | self.resultLabel.text = self.rateUsInfo?.negative 123 | self.callToActionButton.setTitle("Send us feedback", for: UIControlState()) 124 | self.shouldRate = false 125 | self.callToActionButton.backgroundColor = self.rateUsInfo?.negativeButtonColor 126 | } 127 | self.resultLabel.alpha = 0.0 128 | self.callToActionButton.alpha = 0.0 129 | self.resultLabel.isHidden = false 130 | self.callToActionButton.isHidden = false 131 | UIView.animate(withDuration: 0.5, animations: {() -> Void in 132 | self.resultLabel.alpha = 1.0 133 | self.callToActionButton.alpha = 1.0 134 | }) 135 | } 136 | 137 | @IBAction func callToActionTouched(_ sender: UIButton) { 138 | self.dismiss(animated: true, completion: { 139 | if self.shouldRate { 140 | if let itunesId = self.rateUsInfo?.itunesId { 141 | UIApplication.shared.openURL(URL(string: "http://itunes.apple.com/app/id\(itunesId)")!) 142 | } 143 | 144 | self.positiveBlock?() 145 | }else { 146 | self.negativeBlock?() 147 | } 148 | }) 149 | } 150 | } 151 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DEPRECATED - 2 | 3 | App Store policy does not allow to use these kinds of frameworks anymore and suggest the native app rater 4 | https://developer.apple.com/documentation/storekit/skstorereviewcontroller 5 | 6 | # MBRateApp 7 | 8 | [![CI Status](http://img.shields.io/travis/Mati Bot/MBRateApp.svg?style=flat)](https://travis-ci.org/Mati Bot/MBRateApp) 9 | [![Version](https://img.shields.io/cocoapods/v/MBRateApp.svg?style=flat)](http://cocoapods.org/pods/MBRateApp) 10 | [![License](https://img.shields.io/cocoapods/l/MBRateApp.svg?style=flat)](http://cocoapods.org/pods/MBRateApp) 11 | [![Platform](https://img.shields.io/cocoapods/p/MBRateApp.svg?style=flat)](http://cocoapods.org/pods/MBRateApp) 12 | 13 | ![](https://raw.githubusercontent.com/MatiBot/MBRateApp/master/Screenshots/MBChatApp.gif) 14 | ## Usage 15 | 16 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 17 | 18 | ### Customization 19 | 20 | ```swift 21 | var rateUsInfo = MBRateUsInfo() //get the default settings 22 | 23 | //override any attribute 24 | rateUsInfo.title = "Enjoying The League?" 25 | rateUsInfo.titleImage = UIImage(named: "icon") 26 | rateUsInfo.itunesId = "893653132" 27 | 28 | //set the value in the shared instance 29 | MBRateUs.sharedInstance.rateUsInfo = rateUsInfo 30 | ``` 31 | 32 | ### Presentation 33 | 34 | ```swift 35 | MBRateUs.sharedInstance.showRateUs(self 36 | , positiveBlock: { () -> Void in 37 | //code to run when the user chose more than 3 stars and chose to rate in the app store 38 | }, negativeBlock: { () -> Void in 39 | //code to run when the user chose less than 4 stars and chose to send feedback 40 | }) { () -> Void in 41 | //code to run when the user dismissed that screen without choosing anything 42 | } 43 | ``` 44 | 45 | ## Requirements 46 | 47 | ## Installation 48 | 49 | MBRateApp is available through [CocoaPods](http://cocoapods.org). To install 50 | it, simply add the following line to your Podfile: 51 | 52 | ```ruby 53 | pod "MBRateApp" 54 | ``` 55 | 56 | ## Author 57 | 58 | Mati Bot, code@mati.bot 59 | 60 | ## License 61 | 62 | MBRateApp is available under the MIT license. See the LICENSE file for more info. 63 | -------------------------------------------------------------------------------- /Screenshots/MBChatApp.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatiBot/MBRateApp/72985dd6f5f460a83d3c2713c2f32fdeca685ddf/Screenshots/MBChatApp.gif -------------------------------------------------------------------------------- /Screenshots/screenshot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatiBot/MBRateApp/72985dd6f5f460a83d3c2713c2f32fdeca685ddf/Screenshots/screenshot1.png -------------------------------------------------------------------------------- /Screenshots/screenshot2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatiBot/MBRateApp/72985dd6f5f460a83d3c2713c2f32fdeca685ddf/Screenshots/screenshot2.png -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------