Update Readme, Fix custom alerts, update review URL

Update version in podspec to 0.3.0 (Swift 3)
Update readme to match podfile
Make custom alert closure parameters escaping
Review URL: auto-open to write review page
This commit is contained in:
whitepixelstudios
2017-02-17 12:54:25 +10:00
committed by whitepixelstudios
parent b9b50559aa
commit bf8c97e92b
3 changed files with 21 additions and 4 deletions

View File

@@ -93,7 +93,22 @@ platform :ios, '8.0'
platform :osx, '10.10'
use_frameworks!
pod 'Armchair', '>= 0.1'
pod 'Armchair', '>= 0.3'
#Add the following in order to automatically set debug flags for armchair in debug builds
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'Armchair'
target.build_configurations.each do |config|
if config.name == 'Debug'
config.build_settings['OTHER_SWIFT_FLAGS'] = '-DDebug'
else
config.build_settings['OTHER_SWIFT_FLAGS'] = ''
end
end
end
end
end
```
Then, run the following command: