From 5492553e036efd812c6f8f0d5353bb0236e59a7b Mon Sep 17 00:00:00 2001 From: Isuru Nanayakkara Date: Tue, 14 Jul 2020 12:13:03 +0530 Subject: [PATCH] Added library files to Xcode project. Setup demo. --- .gitignore | 67 +- CountrySelectorView.podspec | 15 +- CountrySelectorView/Assets/countries.json | 1197 +++++++++++++++++ CountrySelectorView/Classes/CPCountry.swift | 36 + .../Classes/CountryListViewController.swift | 190 +++ .../Classes/CountryPickerRowView.swift | 78 ++ .../Classes/CountryPickerView.swift | 81 ++ .../CountrySelectorViewController.swift | 30 + CountrySelectorView/Classes/Protocols.swift | 14 + CountrySelectorView/Classes/ReplaceMe.swift | 0 .../project.pbxproj | 20 +- .../contents.xcworkspacedata | 10 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../Base.lproj/Main.storyboard | 41 +- .../CountrySelectorView/ViewController.swift | 42 +- Example/Podfile.lock | 16 + .../CountrySelectorView.podspec.json | 22 + Example/Pods/Manifest.lock | 16 + Example/Pods/Pods.xcodeproj/project.pbxproj | 797 +++++++++++ .../CountrySelectorView-Info.plist | 26 + .../CountrySelectorView-dummy.m | 5 + .../CountrySelectorView-prefix.pch | 12 + .../CountrySelectorView-umbrella.h | 16 + .../CountrySelectorView.debug.xcconfig | 10 + .../CountrySelectorView.modulemap | 6 + .../CountrySelectorView.release.xcconfig | 10 + ...ods-CountrySelectorView_Example-Info.plist | 26 + ...ctorView_Example-acknowledgements.markdown | 26 + ...electorView_Example-acknowledgements.plist | 58 + .../Pods-CountrySelectorView_Example-dummy.m | 5 + ...-CountrySelectorView_Example-frameworks.sh | 207 +++ ...ods-CountrySelectorView_Example-umbrella.h | 16 + ...CountrySelectorView_Example.debug.xcconfig | 12 + ...Pods-CountrySelectorView_Example.modulemap | 6 + ...untrySelectorView_Example.release.xcconfig | 12 + .../Pods-CountrySelectorView_Tests-Info.plist | 26 + ...lectorView_Tests-acknowledgements.markdown | 3 + ...ySelectorView_Tests-acknowledgements.plist | 29 + .../Pods-CountrySelectorView_Tests-dummy.m | 5 + .../Pods-CountrySelectorView_Tests-umbrella.h | 16 + ...s-CountrySelectorView_Tests.debug.xcconfig | 9 + .../Pods-CountrySelectorView_Tests.modulemap | 6 + ...CountrySelectorView_Tests.release.xcconfig | 9 + 43 files changed, 3196 insertions(+), 40 deletions(-) create mode 100644 CountrySelectorView/Assets/countries.json create mode 100644 CountrySelectorView/Classes/CPCountry.swift create mode 100644 CountrySelectorView/Classes/CountryListViewController.swift create mode 100644 CountrySelectorView/Classes/CountryPickerRowView.swift create mode 100644 CountrySelectorView/Classes/CountryPickerView.swift create mode 100644 CountrySelectorView/Classes/CountrySelectorViewController.swift create mode 100644 CountrySelectorView/Classes/Protocols.swift delete mode 100644 CountrySelectorView/Classes/ReplaceMe.swift create mode 100644 Example/CountrySelectorView.xcworkspace/contents.xcworkspacedata create mode 100644 Example/CountrySelectorView.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 Example/Podfile.lock create mode 100644 Example/Pods/Local Podspecs/CountrySelectorView.podspec.json create mode 100644 Example/Pods/Manifest.lock create mode 100644 Example/Pods/Pods.xcodeproj/project.pbxproj create mode 100644 Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView-Info.plist create mode 100644 Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView-dummy.m create mode 100644 Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView-prefix.pch create mode 100644 Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView-umbrella.h create mode 100644 Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView.debug.xcconfig create mode 100644 Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView.modulemap create mode 100644 Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView.release.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-Info.plist create mode 100644 Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-acknowledgements.markdown create mode 100644 Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-acknowledgements.plist create mode 100644 Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-dummy.m create mode 100755 Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-frameworks.sh create mode 100644 Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-umbrella.h create mode 100644 Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example.debug.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example.modulemap create mode 100644 Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example.release.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-Info.plist create mode 100644 Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-acknowledgements.markdown create mode 100644 Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-acknowledgements.plist create mode 100644 Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-dummy.m create mode 100644 Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-umbrella.h create mode 100644 Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests.debug.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests.modulemap create mode 100644 Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests.release.xcconfig diff --git a/.gitignore b/.gitignore index 93c86d3..fad388a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,12 @@ -# OS X -.DS_Store - # Xcode +# +# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore + +## Build generated build/ +DerivedData/ + +## Various settings *.pbxuser !default.pbxuser *.mode1v3 @@ -12,26 +16,59 @@ build/ *.perspectivev3 !default.perspectivev3 xcuserdata/ -*.xccheckout -profile + +## Other *.moved-aside -DerivedData +*.xccheckout +*.xcscmblueprint + +## Obj-C/Swift specific *.hmap *.ipa +*.dSYM.zip +*.dSYM + +## Playgrounds +timeline.xctimeline +playground.xcworkspace -# Bundler -.bundle +# Swift Package Manager +# +# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. +# Packages/ +# Package.pins +# Package.resolved +.build/ +# CocoaPods +# +# We recommend against adding the Pods directory to your .gitignore. However +# you should judge for yourself, the pros and cons are mentioned at: +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control +# +# Pods/ + +# Carthage +# # Add this line if you want to avoid checking in source code from Carthage dependencies. # Carthage/Checkouts Carthage/Build -# We recommend against adding the Pods directory to your .gitignore. However -# you should judge for yourself, the pros and cons are mentioned at: -# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control -# -# Note: if you ignore the Pods directory, make sure to uncomment -# `pod install` in .travis.yml +# fastlane # -# Pods/ +# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the +# screenshots whenever they are needed. +# For more information about the recommended setup visit: +# https://docs.fastlane.tools/best-practices/source-control/#source-control + +fastlane/report.xml +fastlane/Preview.html +fastlane/screenshots/**/*.png +fastlane/test_output + +# Appcode +.idea/ + +# General +.DS_Store diff --git a/CountrySelectorView.podspec b/CountrySelectorView.podspec index 104d637..4124c55 100644 --- a/CountrySelectorView.podspec +++ b/CountrySelectorView.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |s| s.name = 'CountrySelectorView' s.version = '0.1.0' - s.summary = 'A short description of CountrySelectorView.' + s.summary = 'CountrySelectorView lets users pick a country from a list.' # This description is used to generate tags and improve search results. # * Think: What does it do? Why did you write it? What is the focus? @@ -18,7 +18,7 @@ Pod::Spec.new do |s| # * Finally, don't worry about the indent, CocoaPods strips it! s.description = <<-DESC -TODO: Add long description of the pod here. + CountrySelectorView lets users pick a country. You can show it either as a list where you can search or a picker view. DESC s.homepage = 'https://github.com/Isuru-Nanayakkara/CountrySelectorView' @@ -28,15 +28,16 @@ TODO: Add long description of the pod here. s.source = { :git => 'https://github.com/Isuru-Nanayakkara/CountrySelectorView.git', :tag => s.version.to_s } # s.social_media_url = 'https://twitter.com/' - s.ios.deployment_target = '8.0' + s.ios.deployment_target = '11.0' s.source_files = 'CountrySelectorView/Classes/**/*' - # s.resource_bundles = { - # 'CountrySelectorView' => ['CountrySelectorView/Assets/*.png'] - # } + s.resource_bundles = { + 'CountrySelectorView' => ['CountrySelectorView/Assets/countries.json'] + } # s.public_header_files = 'Pod/Classes/**/*.h' - # s.frameworks = 'UIKit', 'MapKit' + s.frameworks = 'UIKit' # s.dependency 'AFNetworking', '~> 2.3' + s.swift_version = '5.0' end diff --git a/CountrySelectorView/Assets/countries.json b/CountrySelectorView/Assets/countries.json new file mode 100644 index 0000000..f5d7aa0 --- /dev/null +++ b/CountrySelectorView/Assets/countries.json @@ -0,0 +1,1197 @@ +[ + { + "calling_code":"93", + "flag":"🇦🇫", + "code":"AF" + }, + { + "calling_code":"355", + "flag":"🇦🇱", + "code":"AL" + }, + { + "calling_code":"213", + "flag":"🇩🇿", + "code":"DZ" + }, + { + "calling_code":"1684", + "flag":"🇦🇸", + "code":"AS" + }, + { + "calling_code":"376", + "flag":"🇦🇩", + "code":"AD" + }, + { + "calling_code":"244", + "flag":"🇦🇴", + "code":"AO" + }, + { + "calling_code":"1264", + "flag":"🇦🇮", + "code":"AI" + }, + { + "calling_code":"672", + "flag":"🇦🇶", + "code":"AQ" + }, + { + "calling_code":"1268", + "flag":"🇦🇬", + "code":"AG" + }, + { + "calling_code":"54", + "flag":"🇦🇷", + "code":"AR" + }, + { + "calling_code":"374", + "flag":"🇦🇲", + "code":"AM" + }, + { + "calling_code":"297", + "flag":"🇦🇼", + "code":"AW" + }, + { + "calling_code":"61", + "flag":"🇦🇺", + "code":"AU" + }, + { + "calling_code":"43", + "flag":"🇦🇹", + "code":"AT" + }, + { + "calling_code":"994", + "flag":"🇦🇿", + "code":"AZ" + }, + { + "calling_code":"1242", + "flag":"🇧🇸", + "code":"BS" + }, + { + "calling_code":"973", + "flag":"🇧🇭", + "code":"BH" + }, + { + "calling_code":"880", + "flag":"🇧🇩", + "code":"BD" + }, + { + "calling_code":"1246", + "flag":"🇧🇧", + "code":"BB" + }, + { + "calling_code":"375", + "flag":"🇧🇾", + "code":"BY" + }, + { + "calling_code":"32", + "flag":"🇧🇪", + "code":"BE" + }, + { + "calling_code":"501", + "flag":"🇧🇿", + "code":"BZ" + }, + { + "calling_code":"229", + "flag":"🇧🇯", + "code":"BJ" + }, + { + "calling_code":"1441", + "flag":"🇧🇲", + "code":"BM" + }, + { + "calling_code":"975", + "flag":"🇧🇹", + "code":"BT" + }, + { + "calling_code":"591", + "flag":"🇧🇴", + "code":"BO" + }, + { + "calling_code":"387", + "flag":"🇧🇦", + "code":"BA" + }, + { + "calling_code":"267", + "flag":"🇧🇼", + "code":"BW" + }, + { + "calling_code":"55", + "flag":"🇧🇷", + "code":"BR" + }, + { + "calling_code":"246", + "flag":"🇮🇴", + "code":"IO" + }, + { + "calling_code":"1284", + "flag":"🇻🇬", + "code":"VG" + }, + { + "calling_code":"673", + "flag":"🇧🇳", + "code":"BN" + }, + { + "calling_code":"359", + "flag":"🇧🇬", + "code":"BG" + }, + { + "calling_code":"226", + "flag":"🇧🇫", + "code":"BF" + }, + { + "calling_code":"257", + "flag":"🇧🇮", + "code":"BI" + }, + { + "calling_code":"855", + "flag":"🇰🇭", + "code":"KH" + }, + { + "calling_code":"237", + "flag":"🇨🇲", + "code":"CM" + }, + { + "calling_code":"1", + "flag":"🇨🇦", + "code":"CA" + }, + { + "calling_code":"238", + "flag":"🇨🇻", + "code":"CV" + }, + { + "calling_code":"1", + "flag":"🇰🇾", + "code":"KY" + }, + { + "calling_code":"236", + "flag":"🇨🇫", + "code":"CF" + }, + { + "calling_code":"235", + "flag":"🇹🇩", + "code":"TD" + }, + { + "calling_code":"56", + "flag":"🇨🇱", + "code":"CL" + }, + { + "calling_code":"86", + "flag":"🇨🇳", + "code":"CN" + }, + { + "calling_code":"61", + "flag":"🇨🇽", + "code":"CX" + }, + { + "calling_code":"61", + "flag":"🇨🇨", + "code":"CC" + }, + { + "calling_code":"57", + "flag":"🇨🇴", + "code":"CO" + }, + { + "calling_code":"269", + "flag":"🇰🇲", + "code":"KM" + }, + { + "calling_code":"682", + "flag":"🇨🇰", + "code":"CK" + }, + { + "calling_code":"506", + "flag":"🇨🇷", + "code":"CR" + }, + { + "calling_code":"385", + "flag":"🇭🇷", + "code":"HR" + }, + { + "calling_code":"53", + "flag":"🇨🇺", + "code":"CU" + }, + { + "calling_code":"599", + "flag":"🇨🇼", + "code":"CW" + }, + { + "calling_code":"357", + "flag":"🇨🇾", + "code":"CY" + }, + { + "calling_code":"420", + "flag":"🇨🇿", + "code":"CZ" + }, + { + "calling_code":"243", + "flag":"🇨🇩", + "code":"CD" + }, + { + "calling_code":"45", + "flag":"🇩🇰", + "code":"DK" + }, + { + "calling_code":"253", + "flag":"🇩🇯", + "code":"DJ" + }, + { + "calling_code":"1767", + "flag":"🇩🇲", + "code":"DM" + }, + { + "calling_code":"1", + "flag":"🇩🇴", + "code":"DO" + }, + { + "calling_code":"670", + "flag":"🇹🇱", + "code":"TL" + }, + { + "calling_code":"593", + "flag":"🇪🇨", + "code":"EC" + }, + { + "calling_code":"20", + "flag":"🇪🇬", + "code":"EG" + }, + { + "calling_code":"503", + "flag":"🇸🇻", + "code":"SV" + }, + { + "calling_code":"240", + "flag":"🇬🇶", + "code":"GQ" + }, + { + "calling_code":"291", + "flag":"🇪🇷", + "code":"ER" + }, + { + "calling_code":"372", + "flag":"🇪🇪", + "code":"EE" + }, + { + "calling_code":"251", + "flag":"🇪🇹", + "code":"ET" + }, + { + "calling_code":"500", + "flag":"🇫🇰", + "code":"FK" + }, + { + "calling_code":"298", + "flag":"🇫🇴", + "code":"FO" + }, + { + "calling_code":"679", + "flag":"🇫🇯", + "code":"FJ" + }, + { + "calling_code":"358", + "flag":"🇫🇮", + "code":"FI" + }, + { + "calling_code":"33", + "flag":"🇫🇷", + "code":"FR" + }, + { + "calling_code":"689", + "flag":"🇵🇫", + "code":"PF" + }, + { + "calling_code":"241", + "flag":"🇬🇦", + "code":"GA" + }, + { + "calling_code":"220", + "flag":"🇬🇲", + "code":"GM" + }, + { + "calling_code":"995", + "flag":"🇬🇪", + "code":"GE" + }, + { + "calling_code":"49", + "flag":"🇩🇪", + "code":"DE" + }, + { + "calling_code":"233", + "flag":"🇬🇭", + "code":"GH" + }, + { + "calling_code":"350", + "flag":"🇬🇮", + "code":"GI" + }, + { + "calling_code":"30", + "flag":"🇬🇷", + "code":"GR" + }, + { + "calling_code":"299", + "flag":"🇬🇱", + "code":"GL" + }, + { + "calling_code":"1473", + "flag":"🇬🇩", + "code":"GD" + }, + { + "calling_code":"1671", + "flag":"🇬🇺", + "code":"GU" + }, + { + "calling_code":"502", + "flag":"🇬🇹", + "code":"GT" + }, + { + "calling_code":"44", + "flag":"🇬🇬", + "code":"GG" + }, + { + "calling_code":"224", + "flag":"🇬🇳", + "code":"GN" + }, + { + "calling_code":"245", + "flag":"🇬🇼", + "code":"GW" + }, + { + "calling_code":"592", + "flag":"🇬🇾", + "code":"GY" + }, + { + "calling_code":"509", + "flag":"🇭🇹", + "code":"HT" + }, + { + "calling_code":"504", + "flag":"🇭🇳", + "code":"HN" + }, + { + "calling_code":"852", + "flag":"🇭🇰", + "code":"HK" + }, + { + "calling_code":"36", + "flag":"🇭🇺", + "code":"HU" + }, + { + "calling_code":"354", + "flag":"🇮🇸", + "code":"IS" + }, + { + "calling_code":"91", + "flag":"🇮🇳", + "code":"IN" + }, + { + "calling_code":"62", + "flag":"🇮🇩", + "code":"ID" + }, + { + "calling_code":"98", + "flag":"🇮🇷", + "code":"IR" + }, + { + "calling_code":"964", + "flag":"🇮🇶", + "code":"IQ" + }, + { + "calling_code":"353", + "flag":"🇮🇪", + "code":"IE" + }, + { + "calling_code":"44", + "flag":"🇮🇲", + "code":"IM" + }, + { + "calling_code":"972", + "flag":"🇮🇱", + "code":"IL" + }, + { + "calling_code":"39", + "flag":"🇮🇹", + "code":"IT" + }, + { + "calling_code":"225", + "flag":"🇨🇮", + "code":"CI" + }, + { + "calling_code":"1876", + "flag":"🇯🇲", + "code":"JM" + }, + { + "calling_code":"81", + "flag":"🇯🇵", + "code":"JP" + }, + { + "calling_code":"44", + "flag":"🇯🇪", + "code":"JE" + }, + { + "calling_code":"962", + "flag":"🇯🇴", + "code":"JO" + }, + { + "calling_code":"7", + "flag":"🇰🇿", + "code":"KZ" + }, + { + "calling_code":"254", + "flag":"🇰🇪", + "code":"KE" + }, + { + "calling_code":"686", + "flag":"🇰🇮", + "code":"KI" + }, + { + "calling_code":"383", + "flag":"🇽🇰", + "code":"XK" + }, + { + "calling_code":"965", + "flag":"🇰🇼", + "code":"KW" + }, + { + "calling_code":"996", + "flag":"🇰🇬", + "code":"KG" + }, + { + "calling_code":"856", + "flag":"🇱🇦", + "code":"LA" + }, + { + "calling_code":"371", + "flag":"🇱🇻", + "code":"LV" + }, + { + "calling_code":"961", + "flag":"🇱🇧", + "code":"LB" + }, + { + "calling_code":"266", + "flag":"🇱🇸", + "code":"LS" + }, + { + "calling_code":"231", + "flag":"🇱🇷", + "code":"LR" + }, + { + "calling_code":"218", + "flag":"🇱🇾", + "code":"LY" + }, + { + "calling_code":"423", + "flag":"🇱🇮", + "code":"LI" + }, + { + "calling_code":"370", + "flag":"🇱🇹", + "code":"LT" + }, + { + "calling_code":"352", + "flag":"🇱🇺", + "code":"LU" + }, + { + "calling_code":"853", + "flag":"🇲🇴", + "code":"MO" + }, + { + "calling_code":"389", + "flag":"🇲🇰", + "code":"MK" + }, + { + "calling_code":"261", + "flag":"🇲🇬", + "code":"MG" + }, + { + "calling_code":"265", + "flag":"🇲🇼", + "code":"MW" + }, + { + "calling_code":"60", + "flag":"🇲🇾", + "code":"MY" + }, + { + "calling_code":"960", + "flag":"🇲🇻", + "code":"MV" + }, + { + "calling_code":"223", + "flag":"🇲🇱", + "code":"ML" + }, + { + "calling_code":"356", + "flag":"🇲🇹", + "code":"MT" + }, + { + "calling_code":"692", + "flag":"🇲🇭", + "code":"MH" + }, + { + "calling_code":"222", + "flag":"🇲🇷", + "code":"MR" + }, + { + "calling_code":"230", + "flag":"🇲🇺", + "code":"MU" + }, + { + "calling_code":"262", + "flag":"🇾🇹", + "code":"YT" + }, + { + "calling_code":"52", + "flag":"🇲🇽", + "code":"MX" + }, + { + "calling_code":"691", + "flag":"🇫🇲", + "code":"FM" + }, + { + "calling_code":"373", + "flag":"🇲🇩", + "code":"MD" + }, + { + "calling_code":"377", + "flag":"🇲🇨", + "code":"MC" + }, + { + "calling_code":"976", + "flag":"🇲🇳", + "code":"MN" + }, + { + "calling_code":"382", + "flag":"🇲🇪", + "code":"ME" + }, + { + "calling_code":"1664", + "flag":"🇲🇸", + "code":"MS" + }, + { + "calling_code":"212", + "flag":"🇲🇦", + "code":"MA" + }, + { + "calling_code":"258", + "flag":"🇲🇿", + "code":"MZ" + }, + { + "calling_code":"95", + "flag":"🇲🇲", + "code":"MM" + }, + { + "calling_code":"264", + "flag":"🇳🇦", + "code":"NA" + }, + { + "calling_code":"674", + "flag":"🇳🇷", + "code":"NR" + }, + { + "calling_code":"977", + "flag":"🇳🇵", + "code":"NP" + }, + { + "calling_code":"31", + "flag":"🇳🇱", + "code":"NL" + }, + { + "calling_code":"687", + "flag":"🇳🇨", + "code":"NC" + }, + { + "calling_code":"64", + "flag":"🇳🇿", + "code":"NZ" + }, + { + "calling_code":"505", + "flag":"🇳🇮", + "code":"NI" + }, + { + "calling_code":"227", + "flag":"🇳🇪", + "code":"NE" + }, + { + "calling_code":"234", + "flag":"🇳🇬", + "code":"NG" + }, + { + "calling_code":"683", + "flag":"🇳🇺", + "code":"NU" + }, + { + "calling_code":"850", + "flag":"🇰🇵", + "code":"KP" + }, + { + "calling_code":"1670", + "flag":"🇲🇵", + "code":"MP" + }, + { + "calling_code":"47", + "flag":"🇳🇴", + "code":"NO" + }, + { + "calling_code":"968", + "flag":"🇴🇲", + "code":"OM" + }, + { + "calling_code":"92", + "flag":"🇵🇰", + "code":"PK" + }, + { + "calling_code":"680", + "flag":"🇵🇼", + "code":"PW" + }, + { + "calling_code":"970", + "flag":"🇵🇸", + "code":"PS" + }, + { + "calling_code":"507", + "flag":"🇵🇦", + "code":"PA" + }, + { + "calling_code":"675", + "flag":"🇵🇬", + "code":"PG" + }, + { + "calling_code":"595", + "flag":"🇵🇾", + "code":"PY" + }, + { + "calling_code":"51", + "flag":"🇵🇪", + "code":"PE" + }, + { + "calling_code":"63", + "flag":"🇵🇭", + "code":"PH" + }, + { + "calling_code":"64", + "flag":"🇵🇳", + "code":"PN" + }, + { + "calling_code":"48", + "flag":"🇵🇱", + "code":"PL" + }, + { + "calling_code":"351", + "flag":"🇵🇹", + "code":"PT" + }, + { + "calling_code":"1", + "flag":"🇵🇷", + "code":"PR" + }, + { + "calling_code":"974", + "flag":"🇶🇦", + "code":"QA" + }, + { + "calling_code":"242", + "flag":"🇨🇩", + "code":"CG" + }, + { + "calling_code":"262", + "flag":"🇷🇪", + "code":"RE" + }, + { + "calling_code":"40", + "flag":"🇷🇴", + "code":"RO" + }, + { + "calling_code":"7", + "flag":"🇷🇺", + "code":"RU" + }, + { + "calling_code":"250", + "flag":"🇷🇼", + "code":"RW" + }, + { + "calling_code":"590", + "flag":"🇧🇱", + "code":"BL" + }, + { + "calling_code":"290", + "flag":"🇸🇭", + "code":"SH" + }, + { + "calling_code":"1869", + "flag":"🇰🇳", + "code":"KN" + }, + { + "calling_code":"1758", + "flag":"🇱🇨", + "code":"LC" + }, + { + "calling_code":"590", + "flag":"🇫🇷", + "code":"MF" + }, + { + "calling_code":"508", + "flag":"🇵🇲", + "code":"PM" + }, + { + "calling_code":"1784", + "flag":"🇻🇨", + "code":"VC" + }, + { + "calling_code":"685", + "flag":"🇼🇸", + "code":"WS" + }, + { + "calling_code":"378", + "flag":"🇸🇲", + "code":"SM" + }, + { + "calling_code":"239", + "flag":"🇸🇹", + "code":"ST" + }, + { + "calling_code":"966", + "flag":"🇸🇦", + "code":"SA" + }, + { + "calling_code":"221", + "flag":"🇸🇳", + "code":"SN" + }, + { + "calling_code":"381", + "flag":"🇷🇸", + "code":"RS" + }, + { + "calling_code":"248", + "flag":"🇸🇨", + "code":"SC" + }, + { + "calling_code":"232", + "flag":"🇸🇱", + "code":"SL" + }, + { + "calling_code":"65", + "flag":"🇸🇬", + "code":"SG" + }, + { + "calling_code":"1721", + "flag":"🇸🇽", + "code":"SX" + }, + { + "calling_code":"421", + "flag":"🇸🇰", + "code":"SK" + }, + { + "calling_code":"386", + "flag":"🇸🇮", + "code":"SI" + }, + { + "calling_code":"677", + "flag":"🇸🇧", + "code":"SB" + }, + { + "calling_code":"252", + "flag":"🇸🇴", + "code":"SO" + }, + { + "calling_code":"27", + "flag":"🇿🇦", + "code":"ZA" + }, + { + "calling_code":"82", + "flag":"🇰🇷", + "code":"KR" + }, + { + "calling_code":"211", + "flag":"🇸🇸", + "code":"SS" + }, + { + "calling_code":"34", + "flag":"🇪🇸", + "code":"ES" + }, + { + "calling_code":"94", + "flag":"🇱🇰", + "code":"LK" + }, + { + "calling_code":"249", + "flag":"🇸🇩", + "code":"SD" + }, + { + "calling_code":"597", + "flag":"🇸🇷", + "code":"SR" + }, + { + "calling_code":"47", + "flag":"🇳🇴", + "code":"SJ" + }, + { + "calling_code":"268", + "flag":"🇸🇿", + "code":"SZ" + }, + { + "calling_code":"46", + "flag":"🇸🇪", + "code":"SE" + }, + { + "calling_code":"41", + "flag":"🇨🇭", + "code":"CH" + }, + { + "calling_code":"963", + "flag":"🇸🇾", + "code":"SY" + }, + { + "calling_code":"886", + "flag":"🇹🇼", + "code":"TW" + }, + { + "calling_code":"992", + "flag":"🇹🇯", + "code":"TJ" + }, + { + "calling_code":"255", + "flag":"🇹🇿", + "code":"TZ" + }, + { + "calling_code":"66", + "flag":"🇹🇭", + "code":"TH" + }, + { + "calling_code":"228", + "flag":"🇹🇬", + "code":"TG" + }, + { + "calling_code":"690", + "flag":"🇹🇰", + "code":"TK" + }, + { + "calling_code":"676", + "flag":"🇹🇴", + "code":"TO" + }, + { + "calling_code":"1868", + "flag":"🇹🇹", + "code":"TT" + }, + { + "calling_code":"216", + "flag":"🇹🇳", + "code":"TN" + }, + { + "calling_code":"90", + "flag":"🇹🇷", + "code":"TR" + }, + { + "calling_code":"993", + "flag":"🇹🇲", + "code":"TM" + }, + { + "calling_code":"1649", + "flag":"🇹🇨", + "code":"TC" + }, + { + "calling_code":"688", + "flag":"🇹🇻", + "code":"TV" + }, + { + "calling_code":"1340", + "flag":"🇻🇮", + "code":"VI" + }, + { + "calling_code":"256", + "flag":"🇺🇬", + "code":"UG" + }, + { + "calling_code":"380", + "flag":"🇺🇦", + "code":"UA" + }, + { + "calling_code":"971", + "flag":"🇦🇪", + "code":"AE" + }, + { + "calling_code":"44", + "flag":"🇬🇧", + "code":"GB" + }, + { + "calling_code":"1", + "flag":"🇺🇸", + "code":"US" + }, + { + "calling_code":"598", + "flag":"🇺🇾", + "code":"UY" + }, + { + "calling_code":"998", + "flag":"🇺🇿", + "code":"UZ" + }, + { + "calling_code":"678", + "flag":"🇻🇺", + "code":"VU" + }, + { + "calling_code":"379", + "flag":"🇻🇦", + "code":"VA" + }, + { + "calling_code":"58", + "flag":"🇻🇪", + "code":"VE" + }, + { + "calling_code":"84", + "flag":"🇻🇳", + "code":"VN" + }, + { + "calling_code":"681", + "flag":"🇼🇫", + "code":"WF" + }, + { + "calling_code":"212", + "flag":"🇪🇭", + "code":"EH" + }, + { + "calling_code":"967", + "flag":"🇾🇪", + "code":"YE" + }, + { + "calling_code":"260", + "flag":"🇿🇲", + "code":"ZM" + }, + { + "calling_code":"263", + "flag":"🇿🇼", + "code":"ZW" + } +] \ No newline at end of file diff --git a/CountrySelectorView/Classes/CPCountry.swift b/CountrySelectorView/Classes/CPCountry.swift new file mode 100644 index 0000000..d45f242 --- /dev/null +++ b/CountrySelectorView/Classes/CPCountry.swift @@ -0,0 +1,36 @@ +// +// CPCountry.swift +// CountrySelectorView +// +// Created by Isuru Nanayakkara on 6/29/20. +// + +import Foundation + +public struct CPCountry { + public let code: String + public let callingCode: String + public let flag: String? + + public var name: String { + return (Locale.current as NSLocale).displayName(forKey: NSLocale.Key.countryCode, value: code) ?? "" + } +} + +extension CPCountry: Codable { + + enum CodingKeys: String, CodingKey { + case code + case callingCode = "calling_code" + case flag + } + +} + +extension CPCountry: CustomStringConvertible { + + public var description: String { + return "\(name) \(flag ?? "") | \(callingCode)" + } + +} diff --git a/CountrySelectorView/Classes/CountryListViewController.swift b/CountrySelectorView/Classes/CountryListViewController.swift new file mode 100644 index 0000000..1bbd910 --- /dev/null +++ b/CountrySelectorView/Classes/CountryListViewController.swift @@ -0,0 +1,190 @@ +// +// CountryListViewController.swift +// CountrySelectorView +// +// Created by Isuru Nanayakkara on 6/29/20. +// + +import UIKit + +public class CountryListViewController: UIViewController { + + private let collation = UILocalizedIndexedCollation.current() + private let cellIdentifier = "CountryCell" + + lazy private var tableView: UITableView = { + let tableView = UITableView() + tableView.translatesAutoresizingMaskIntoConstraints = false + tableView.dataSource = self + tableView.delegate = self + tableView.tableFooterView = UIView(frame: .zero) + tableView.register(UITableViewCell.self, forCellReuseIdentifier: cellIdentifier) + return tableView + }() + + lazy private var searchController: UISearchController = { + let searchController = UISearchController() + searchController.searchResultsUpdater = self + searchController.obscuresBackgroundDuringPresentation = false + searchController.hidesNavigationBarDuringPresentation = false + searchController.searchBar.delegate = self + searchController.searchBar.showsCancelButton = false + return searchController + }() + + private var countries: [CPCountry] = [] + private var filteredCountries: [CPCountry] = [] + public var delegate: CountrySelectorViewControllerDelegate? + public var selectedCountryCode: String? + + + override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) { + super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil) + } + + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } + + convenience init() { + self.init(nibName: nil, bundle: nil) + + loadCountries() + } + + public override func viewDidLoad() { + super.viewDidLoad() + + setupView() + setupNavigationBar() + setupTableView() + setupSearchController() + scrollToInitialSelectedCountry() + } + + private func setupView() { + if #available(iOS 13.0, *) { + view.backgroundColor = .systemBackground + } else { + view.backgroundColor = .white + } + } + + private func setupNavigationBar() { + navigationItem.rightBarButtonItem = UIBarButtonItem(title: "Cancel", style: .plain, target: self, action: #selector(dismissViewController)) + } + + private func setupTableView() { + view.addSubview(tableView) + NSLayoutConstraint.activate([ + tableView.leadingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.leadingAnchor), + tableView.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor), + tableView.trailingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.trailingAnchor), + tableView.bottomAnchor.constraint(equalTo: view.safeAreaLayoutGuide.bottomAnchor) + ]) + } + + private func setupSearchController() { + navigationItem.searchController = searchController + navigationItem.hidesSearchBarWhenScrolling = false + } + + private func scrollToInitialSelectedCountry() { + if let code = selectedCountryCode, let index = countries.firstIndex(where: { $0.code.lowercased() == code.lowercased() }) { + tableView.scrollToRow(at: IndexPath(row: index, section: 0), at: .top, animated: true) + } + } + + private func loadCountries() { + let path = Bundle(for: Self.self).path(forResource: "countries", ofType: "json")! + do { + let url = URL(fileURLWithPath: path) + let data = try Data(contentsOf: url) + let countries = try JSONDecoder().decode([CPCountry].self, from: data) + + self.countries = countries + } catch { + fatalError("Failed to load countries") + } + } + + @objc private func dismissViewController() { + dismiss(animated: true) + } +} + +extension CountryListViewController: UITableViewDataSource { + +// func numberOfSections(in tableView: UITableView) -> Int { +// return groupedCountries.count +// } + + public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { + let count = searchController.isActive ? filteredCountries.count : countries.count + return count + } + +// func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? { +// return collation.sectionTitles[section] +// } +// +// func sectionIndexTitles(for tableView: UITableView) -> [String]? { +// return collation.sectionIndexTitles +// } +// +// func tableView(_ tableView: UITableView, sectionForSectionIndexTitle title: String, at index: Int) -> Int { +// return collation.section(forSectionIndexTitle: index) +// } + + public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { + var cell = tableView.dequeueReusableCell(withIdentifier: cellIdentifier, for: indexPath) + cell = UITableViewCell(style: .value1, reuseIdentifier: cellIdentifier) + + let country = searchController.isActive ? filteredCountries[indexPath.row] : countries[indexPath.row] + cell.textLabel?.text = "\(country.flag ?? "") \(country.name)" + cell.detailTextLabel?.text = country.callingCode + + if country.code.lowercased() == selectedCountryCode?.lowercased() { + cell.accessoryType = .checkmark + } + + return cell + } + +} + +extension CountryListViewController: UITableViewDelegate { + + public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { + let country = searchController.isActive ? filteredCountries[indexPath.row] : countries[indexPath.row] + selectedCountryCode = country.code + delegate?.didSelectCountry(navigationController as! CountrySelectorViewController, country: country) + } + +} + +extension CountryListViewController: UISearchResultsUpdating { + + public func updateSearchResults(for searchController: UISearchController) { + guard let searchText = searchController.searchBar.text, !searchText.isEmpty else { + filteredCountries.removeAll() + return + } + + filteredCountries = countries.filter { $0.name.lowercased().contains(searchText.lowercased()) } + tableView.reloadData() + } + +} + +extension CountryListViewController: UISearchBarDelegate { + + public func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) { + if searchText.isEmpty { + searchController.isActive = false + filteredCountries.removeAll() + tableView.reloadData() + } + } + +} diff --git a/CountrySelectorView/Classes/CountryPickerRowView.swift b/CountrySelectorView/Classes/CountryPickerRowView.swift new file mode 100644 index 0000000..7716b42 --- /dev/null +++ b/CountrySelectorView/Classes/CountryPickerRowView.swift @@ -0,0 +1,78 @@ +// +// CountryPickerRowView.swift +// CountrySelectorView +// +// Created by Isuru Nanayakkara on 6/29/20. +// + +import UIKit + +class CountryPickerRowView: UIView { + + lazy var flagLabel: UILabel = { + let label = UILabel() + label.translatesAutoresizingMaskIntoConstraints = false + label.textAlignment = .center + return label + }() + + lazy var nameLabel: UILabel = { + let label = UILabel() + label.translatesAutoresizingMaskIntoConstraints = false + label.textAlignment = .center + return label + }() + + lazy var codeLabel: UILabel = { + let label = UILabel() + label.translatesAutoresizingMaskIntoConstraints = false + label.textAlignment = .center + return label + }() + + private var country: CPCountry! + + + override init(frame: CGRect) { + super.init(frame: frame) + } + + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } + + convenience init(country: CPCountry) { + self.init(frame: .zero) + + self.country = country + layoutViews() + } + + private func layoutViews() { + flagLabel.text = country.flag + codeLabel.text = country.callingCode + nameLabel.text = country.name + + addSubview(flagLabel) + addSubview(codeLabel) + addSubview(nameLabel) + + NSLayoutConstraint.activate([ + flagLabel.leadingAnchor.constraint(equalTo: leadingAnchor, constant: 16), + flagLabel.topAnchor.constraint(equalTo: topAnchor), + flagLabel.bottomAnchor.constraint(equalTo: bottomAnchor), + flagLabel.widthAnchor.constraint(equalTo: widthAnchor, multiplier: 0.1), + + codeLabel.topAnchor.constraint(equalTo: topAnchor), + codeLabel.trailingAnchor.constraint(equalTo: trailingAnchor), + codeLabel.bottomAnchor.constraint(equalTo: bottomAnchor), + codeLabel.widthAnchor.constraint(equalTo: widthAnchor, multiplier: 0.17), + + nameLabel.leadingAnchor.constraint(equalTo: flagLabel.trailingAnchor), + nameLabel.topAnchor.constraint(equalTo: topAnchor), + nameLabel.trailingAnchor.constraint(equalTo: codeLabel.leadingAnchor), + nameLabel.bottomAnchor.constraint(equalTo: bottomAnchor), + ]) + } + +} diff --git a/CountrySelectorView/Classes/CountryPickerView.swift b/CountrySelectorView/Classes/CountryPickerView.swift new file mode 100644 index 0000000..2eafaa2 --- /dev/null +++ b/CountrySelectorView/Classes/CountryPickerView.swift @@ -0,0 +1,81 @@ +// +// CountryPickerView.swift +// CountrySelectorView +// +// Created by Isuru Nanayakkara on 6/29/20. +// + +import UIKit + +public class CountryPickerView: UIPickerView { + + private var countries: [CPCountry] = [] + public weak var pickerDelegate: CountryPickerViewDelegate? + + + override init(frame: CGRect) { + super.init(frame: frame) + } + + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } + + convenience init() { + self.init(frame: .zero) + + setup() + loadCountries() + } + + private func loadCountries() { + let path = Bundle(for: Self.self).path(forResource: "countries", ofType: "json")! + do { + let url = URL(fileURLWithPath: path) + let data = try Data(contentsOf: url) + let countries = try JSONDecoder().decode([CPCountry].self, from: data) + + self.countries = countries + } catch { + fatalError("Failed to load countries") + } + } + + private func setup() { + dataSource = self + delegate = self + } + + public func setCountry(byCode code: String) { + if let index = countries.firstIndex(where: { $0.code.lowercased() == code.lowercased() }) { + selectRow(index, inComponent: 0, animated: true) + } + } + +} + +extension CountryPickerView: UIPickerViewDataSource { + + public func numberOfComponents(in pickerView: UIPickerView) -> Int { + return 1 + } + + public func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int { + return countries.count + } + +} + +extension CountryPickerView: UIPickerViewDelegate { + + public func pickerView(_ pickerView: UIPickerView, viewForRow row: Int, forComponent component: Int, reusing view: UIView?) -> UIView { + let country = countries[row] + return CountryPickerRowView(country: country) + } + + public func pickerView(_ pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int) { + let country = countries[row] + pickerDelegate?.didPickCountry(country) + } + +} diff --git a/CountrySelectorView/Classes/CountrySelectorViewController.swift b/CountrySelectorView/Classes/CountrySelectorViewController.swift new file mode 100644 index 0000000..8179fd3 --- /dev/null +++ b/CountrySelectorView/Classes/CountrySelectorViewController.swift @@ -0,0 +1,30 @@ +// +// CountrySelectorViewController.swift +// CountrySelectorView +// +// Created by Isuru Nanayakkara on 6/29/20. +// + +import UIKit + +public class CountrySelectorViewController: UINavigationController { + + public weak var selectorDelegate: CountrySelectorViewControllerDelegate! + private var selectedCountryCode: String! + + + public override func viewDidLoad() { + super.viewDidLoad() + + let countryListViewController = CountryListViewController() + countryListViewController.delegate = selectorDelegate + countryListViewController.selectedCountryCode = selectedCountryCode + + viewControllers = [countryListViewController] + } + + public func setCountry(byCode code: String) { + selectedCountryCode = code + } + +} diff --git a/CountrySelectorView/Classes/Protocols.swift b/CountrySelectorView/Classes/Protocols.swift new file mode 100644 index 0000000..f92be59 --- /dev/null +++ b/CountrySelectorView/Classes/Protocols.swift @@ -0,0 +1,14 @@ +// +// CountryPickerViewControllerDelegate.swift +// CountrySelectorView +// +// Created by Isuru Nanayakkara on 6/29/20. +// + +public protocol CountrySelectorViewControllerDelegate: class { + func didSelectCountry(_ countrySelectorViewController: CountrySelectorViewController, country: CPCountry) +} + +public protocol CountryPickerViewDelegate: class { + func didPickCountry(_ country: CPCountry) +} diff --git a/CountrySelectorView/Classes/ReplaceMe.swift b/CountrySelectorView/Classes/ReplaceMe.swift deleted file mode 100644 index e69de29..0000000 diff --git a/Example/CountrySelectorView.xcodeproj/project.pbxproj b/Example/CountrySelectorView.xcodeproj/project.pbxproj index 4fde419..f422b50 100644 --- a/Example/CountrySelectorView.xcodeproj/project.pbxproj +++ b/Example/CountrySelectorView.xcodeproj/project.pbxproj @@ -28,7 +28,7 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 0AE13CEBF3A38978B6365DDC /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; name = README.md; path = ../README.md; sourceTree = ""; }; + 0AE13CEBF3A38978B6365DDC /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 607FACD01AFB9204008FA782 /* CountrySelectorView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CountrySelectorView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; @@ -40,8 +40,8 @@ 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 70FAB1CF2DA613F341BA634A /* Pods-CountrySelectorView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CountrySelectorView_Example.release.xcconfig"; path = "Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example.release.xcconfig"; sourceTree = ""; }; - 7B884AF0944D4ADC7774E550 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; - 8BFF188BB9502FE75AECA27D /* CountrySelectorView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; name = CountrySelectorView.podspec; path = ../CountrySelectorView.podspec; sourceTree = ""; }; + 7B884AF0944D4ADC7774E550 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; + 8BFF188BB9502FE75AECA27D /* CountrySelectorView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = CountrySelectorView.podspec; path = ../CountrySelectorView.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 93AE90D196934064A039521E /* Pods_CountrySelectorView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CountrySelectorView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; B5C8FC326E586E9A3827024D /* Pods-CountrySelectorView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CountrySelectorView_Example.debug.xcconfig"; path = "Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example.debug.xcconfig"; sourceTree = ""; }; BAA84F4F6A19EE8E2B9D4CDA /* Pods_CountrySelectorView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CountrySelectorView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -156,7 +156,6 @@ F219DA449D9D5BCE79607B97 /* Pods-CountrySelectorView_Tests.debug.xcconfig */, D304B4B3791EFA0048F39666 /* Pods-CountrySelectorView_Tests.release.xcconfig */, ); - name = Pods; path = Pods; sourceTree = ""; }; @@ -213,10 +212,12 @@ TargetAttributes = { 607FACCF1AFB9204008FA782 = { CreatedOnToolsVersion = 6.3.1; + DevelopmentTeam = 95GU92RU65; LastSwiftMigration = 0900; }; 607FACE41AFB9204008FA782 = { CreatedOnToolsVersion = 6.3.1; + DevelopmentTeam = 95GU92RU65; LastSwiftMigration = 0900; TestTargetID = 607FACCF1AFB9204008FA782; }; @@ -227,6 +228,7 @@ developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, Base, ); @@ -419,7 +421,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -465,7 +467,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; @@ -478,7 +480,9 @@ baseConfigurationReference = B5C8FC326E586E9A3827024D /* Pods-CountrySelectorView_Example.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + DEVELOPMENT_TEAM = 95GU92RU65; INFOPLIST_FILE = CountrySelectorView/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; @@ -493,7 +497,9 @@ baseConfigurationReference = 70FAB1CF2DA613F341BA634A /* Pods-CountrySelectorView_Example.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + DEVELOPMENT_TEAM = 95GU92RU65; INFOPLIST_FILE = CountrySelectorView/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; @@ -507,6 +513,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = F219DA449D9D5BCE79607B97 /* Pods-CountrySelectorView_Tests.debug.xcconfig */; buildSettings = { + DEVELOPMENT_TEAM = 95GU92RU65; FRAMEWORK_SEARCH_PATHS = ( "$(PLATFORM_DIR)/Developer/Library/Frameworks", "$(inherited)", @@ -529,6 +536,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = D304B4B3791EFA0048F39666 /* Pods-CountrySelectorView_Tests.release.xcconfig */; buildSettings = { + DEVELOPMENT_TEAM = 95GU92RU65; FRAMEWORK_SEARCH_PATHS = ( "$(PLATFORM_DIR)/Developer/Library/Frameworks", "$(inherited)", diff --git a/Example/CountrySelectorView.xcworkspace/contents.xcworkspacedata b/Example/CountrySelectorView.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..e4d0990 --- /dev/null +++ b/Example/CountrySelectorView.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/Example/CountrySelectorView.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/CountrySelectorView.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Example/CountrySelectorView.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Example/CountrySelectorView/Base.lproj/Main.storyboard b/Example/CountrySelectorView/Base.lproj/Main.storyboard index 9b09b7c..8ce956d 100644 --- a/Example/CountrySelectorView/Base.lproj/Main.storyboard +++ b/Example/CountrySelectorView/Base.lproj/Main.storyboard @@ -1,11 +1,9 @@ - - - - + + - + @@ -20,11 +18,42 @@ - + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/CountrySelectorView/ViewController.swift b/Example/CountrySelectorView/ViewController.swift index d4d9e2b..51b037d 100644 --- a/Example/CountrySelectorView/ViewController.swift +++ b/Example/CountrySelectorView/ViewController.swift @@ -7,18 +7,48 @@ // import UIKit +import CountrySelectorView class ViewController: UIViewController { - + + @IBOutlet weak var textField: UITextField! + + override func viewDidLoad() { super.viewDidLoad() - // Do any additional setup after loading the view, typically from a nib. + + let tap = UITapGestureRecognizer(target: view, action: #selector(UIView.endEditing(_:))) + view.addGestureRecognizer(tap) + + + let pickerView = CountryPickerView() + pickerView.pickerDelegate = self +// pickerView.setCountry(byCode: "LK") + textField.inputView = pickerView } - - override func didReceiveMemoryWarning() { - super.didReceiveMemoryWarning() - // Dispose of any resources that can be recreated. + + @IBAction func didTapTableViewButton(_ sender: UIButton) { + let countrySelectorViewController = CountrySelectorViewController() + countrySelectorViewController.selectorDelegate = self +// countrySelectorViewController.setCountry(byCode: "LK") + present(countrySelectorViewController, animated: true) } + +} +extension ViewController: CountrySelectorViewControllerDelegate { + + func didSelectCountry(_ countrySelectorViewController: CountrySelectorViewController, country: CPCountry) { + print(country) + countrySelectorViewController.dismiss(animated: true) + } + } +extension ViewController: CountryPickerViewDelegate { + + func didPickCountry(_ country: CPCountry) { + textField.text = country.name + } + +} diff --git a/Example/Podfile.lock b/Example/Podfile.lock new file mode 100644 index 0000000..e90cddc --- /dev/null +++ b/Example/Podfile.lock @@ -0,0 +1,16 @@ +PODS: + - CountrySelectorView (0.1.0) + +DEPENDENCIES: + - CountrySelectorView (from `../`) + +EXTERNAL SOURCES: + CountrySelectorView: + :path: "../" + +SPEC CHECKSUMS: + CountrySelectorView: eb01b199f67ff04e4aa7c596cb5adec67154b912 + +PODFILE CHECKSUM: 56b18723fbc5b0a883254da8f4d6467edf2fbbad + +COCOAPODS: 1.9.3 diff --git a/Example/Pods/Local Podspecs/CountrySelectorView.podspec.json b/Example/Pods/Local Podspecs/CountrySelectorView.podspec.json new file mode 100644 index 0000000..b61770f --- /dev/null +++ b/Example/Pods/Local Podspecs/CountrySelectorView.podspec.json @@ -0,0 +1,22 @@ +{ + "name": "CountrySelectorView", + "version": "0.1.0", + "summary": "A short description of CountrySelectorView.", + "description": "TODO: Add long description of the pod here.", + "homepage": "https://github.com/Isuru-Nanayakkara/CountrySelectorView", + "license": { + "type": "MIT", + "file": "LICENSE" + }, + "authors": { + "Isuru-Nanayakkara": "isuru.nan@gmail.com" + }, + "source": { + "git": "https://github.com/Isuru-Nanayakkara/CountrySelectorView.git", + "tag": "0.1.0" + }, + "platforms": { + "ios": "11.0" + }, + "source_files": "CountrySelectorView/Classes/**/*" +} diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock new file mode 100644 index 0000000..e90cddc --- /dev/null +++ b/Example/Pods/Manifest.lock @@ -0,0 +1,16 @@ +PODS: + - CountrySelectorView (0.1.0) + +DEPENDENCIES: + - CountrySelectorView (from `../`) + +EXTERNAL SOURCES: + CountrySelectorView: + :path: "../" + +SPEC CHECKSUMS: + CountrySelectorView: eb01b199f67ff04e4aa7c596cb5adec67154b912 + +PODFILE CHECKSUM: 56b18723fbc5b0a883254da8f4d6467edf2fbbad + +COCOAPODS: 1.9.3 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj new file mode 100644 index 0000000..7f71ac1 --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -0,0 +1,797 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 20D3123FD3C58B33830407D8312CC2C3 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; + 25B486999D6BEEEB5B85C66E2B8D17EA /* Pods-CountrySelectorView_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = CEC5DCE174BDBA30908C9114159C53D8 /* Pods-CountrySelectorView_Tests-dummy.m */; }; + 3514B6F54F02E4C72C34C0EA02C6D5BC /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; + 430514BF24BD84520008DE9B /* CountryPickerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 430514B924BD84520008DE9B /* CountryPickerView.swift */; }; + 430514C024BD84520008DE9B /* CountrySelectorViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 430514BA24BD84520008DE9B /* CountrySelectorViewController.swift */; }; + 430514C124BD84520008DE9B /* CPCountry.swift in Sources */ = {isa = PBXBuildFile; fileRef = 430514BB24BD84520008DE9B /* CPCountry.swift */; }; + 430514C224BD84520008DE9B /* Protocols.swift in Sources */ = {isa = PBXBuildFile; fileRef = 430514BC24BD84520008DE9B /* Protocols.swift */; }; + 430514C324BD84520008DE9B /* CountryPickerRowView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 430514BD24BD84520008DE9B /* CountryPickerRowView.swift */; }; + 430514C424BD84520008DE9B /* CountryListViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 430514BE24BD84520008DE9B /* CountryListViewController.swift */; }; + 430514C624BD84630008DE9B /* countries.json in Resources */ = {isa = PBXBuildFile; fileRef = 430514C524BD84630008DE9B /* countries.json */; }; + 5608A3BDE2C20EDCB2BFDC393808A552 /* Pods-CountrySelectorView_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = BA859F227A394F190305DD3BB03D9435 /* Pods-CountrySelectorView_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9AABBFEE15093380238410786B6E45C7 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; + E960BEF39262826CE34F65A25C0C5022 /* Pods-CountrySelectorView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = EE248711C22595D7A4525BF44799141E /* Pods-CountrySelectorView_Example-dummy.m */; }; + ECB3A5A70612A8E1C44FE507B94A4B51 /* CountrySelectorView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 2D5262F6CD83140D9C51651E265E2113 /* CountrySelectorView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F34AC42ABBE9DE3C9651F32498952897 /* CountrySelectorView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E9C4C9FE930702A01486A5DFD0170694 /* CountrySelectorView-dummy.m */; }; + F3F2C5E804691173E2A3A5490E4C1DC7 /* Pods-CountrySelectorView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DBEF0F19F9BBDD4F0E034138D4653E2 /* Pods-CountrySelectorView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1E09B9F791086D58762E41CAC9E10CCB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 7126DF6F4775F62F98FA687589F67C63; + remoteInfo = "Pods-CountrySelectorView_Example"; + }; + 7722EF879C5FB16B062E4337B3515C7B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 964048F3E3489B56547178C8B13C297A; + remoteInfo = CountrySelectorView; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 167FA340F38BBF72EB000259AD5D3386 /* Pods-CountrySelectorView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CountrySelectorView_Tests.debug.xcconfig"; sourceTree = ""; }; + 1D0CF2C91624C95450490B21BB9E41A8 /* Pods_CountrySelectorView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CountrySelectorView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 2A52D3E22C87AB337B48301FC55238D4 /* CountrySelectorView.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = CountrySelectorView.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 2ACF26CAA03455CA495DC116EAE2E387 /* Pods_CountrySelectorView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CountrySelectorView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 2D5262F6CD83140D9C51651E265E2113 /* CountrySelectorView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CountrySelectorView-umbrella.h"; sourceTree = ""; }; + 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + 430514B924BD84520008DE9B /* CountryPickerView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = CountryPickerView.swift; path = CountrySelectorView/Classes/CountryPickerView.swift; sourceTree = ""; }; + 430514BA24BD84520008DE9B /* CountrySelectorViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = CountrySelectorViewController.swift; path = CountrySelectorView/Classes/CountrySelectorViewController.swift; sourceTree = ""; }; + 430514BB24BD84520008DE9B /* CPCountry.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = CPCountry.swift; path = CountrySelectorView/Classes/CPCountry.swift; sourceTree = ""; }; + 430514BC24BD84520008DE9B /* Protocols.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Protocols.swift; path = CountrySelectorView/Classes/Protocols.swift; sourceTree = ""; }; + 430514BD24BD84520008DE9B /* CountryPickerRowView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = CountryPickerRowView.swift; path = CountrySelectorView/Classes/CountryPickerRowView.swift; sourceTree = ""; }; + 430514BE24BD84520008DE9B /* CountryListViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = CountryListViewController.swift; path = CountrySelectorView/Classes/CountryListViewController.swift; sourceTree = ""; }; + 430514C524BD84630008DE9B /* countries.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; name = countries.json; path = CountrySelectorView/Assets/countries.json; sourceTree = ""; }; + 433394D40D18EE36E7F166D03409FB3C /* Pods-CountrySelectorView_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-CountrySelectorView_Tests-acknowledgements.plist"; sourceTree = ""; }; + 4C5D09D4FE6A620AFAB5D6798BADA3C2 /* CountrySelectorView.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = CountrySelectorView.debug.xcconfig; sourceTree = ""; }; + 647B4198122E471654BDEC033158897B /* Pods-CountrySelectorView_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-CountrySelectorView_Tests.modulemap"; sourceTree = ""; }; + 689AFFDCF62C0C4A2F4FC00A255B60E0 /* CountrySelectorView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CountrySelectorView-prefix.pch"; sourceTree = ""; }; + 7DEF36BEF68A639DC14592F2BBF6B9D7 /* Pods-CountrySelectorView_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-CountrySelectorView_Tests-Info.plist"; sourceTree = ""; }; + 861D30CEECF94EEE9AF8CE2907AC2B06 /* Pods-CountrySelectorView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CountrySelectorView_Example.debug.xcconfig"; sourceTree = ""; }; + 90993E4159180E6AB7ED7C0D3E315999 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; + 9556879B0E349F041865D1942B4E0211 /* Pods-CountrySelectorView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-CountrySelectorView_Example-acknowledgements.plist"; sourceTree = ""; }; + 98A6A5C40F8D0FA4A81CBCF3E11C6292 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; + 994BB2933A36C1E6D53C69F8B5C916D1 /* Pods-CountrySelectorView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-CountrySelectorView_Example-acknowledgements.markdown"; sourceTree = ""; }; + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 9DBEF0F19F9BBDD4F0E034138D4653E2 /* Pods-CountrySelectorView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-CountrySelectorView_Example-umbrella.h"; sourceTree = ""; }; + A15FEDD36DBED1D33084DF328AB444E9 /* Pods-CountrySelectorView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CountrySelectorView_Tests.release.xcconfig"; sourceTree = ""; }; + A32C56F590A23410DA88EBB65F05756E /* Pods-CountrySelectorView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-CountrySelectorView_Example-frameworks.sh"; sourceTree = ""; }; + B8F536602DF68EA292BFDFF352CAAE6F /* CountrySelectorView-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "CountrySelectorView-Info.plist"; sourceTree = ""; }; + BA859F227A394F190305DD3BB03D9435 /* Pods-CountrySelectorView_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-CountrySelectorView_Tests-umbrella.h"; sourceTree = ""; }; + C4304D6E215F68FB47F5A09D8A406B55 /* Pods-CountrySelectorView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-CountrySelectorView_Example.modulemap"; sourceTree = ""; }; + C519C4D997B3149F8CCDD40A341D7FAE /* CountrySelectorView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = CountrySelectorView.modulemap; sourceTree = ""; }; + C85C3D317A8D2850DBB27EC7F518159D /* Pods-CountrySelectorView_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-CountrySelectorView_Example-Info.plist"; sourceTree = ""; }; + C8C6ED19C2D01178E559A3E4970F082C /* Pods-CountrySelectorView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CountrySelectorView_Example.release.xcconfig"; sourceTree = ""; }; + CEC5DCE174BDBA30908C9114159C53D8 /* Pods-CountrySelectorView_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-CountrySelectorView_Tests-dummy.m"; sourceTree = ""; }; + D806FAE7694DE1051D45466E783DC8C1 /* CountrySelectorView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CountrySelectorView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E70795CED78BCA9AAA21A9F458510577 /* Pods-CountrySelectorView_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-CountrySelectorView_Tests-acknowledgements.markdown"; sourceTree = ""; }; + E9C4C9FE930702A01486A5DFD0170694 /* CountrySelectorView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "CountrySelectorView-dummy.m"; sourceTree = ""; }; + EE248711C22595D7A4525BF44799141E /* Pods-CountrySelectorView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-CountrySelectorView_Example-dummy.m"; sourceTree = ""; }; + F102427F30042254DC712A60D469BD73 /* CountrySelectorView.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = CountrySelectorView.release.xcconfig; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 42E72DB6ACCD4BF52AEE8911B1036F55 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 20D3123FD3C58B33830407D8312CC2C3 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6D60486887541CF24B5312E61FCB8020 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 3514B6F54F02E4C72C34C0EA02C6D5BC /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6D82924D0BD2B37318A8E8F27CAB1483 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 9AABBFEE15093380238410786B6E45C7 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 180F8E9215520C69E92E5588C2EFD75D /* Targets Support Files */ = { + isa = PBXGroup; + children = ( + 1AD576919825C54E07897C3EF7ECC7D9 /* Pods-CountrySelectorView_Example */, + B441A8F7E801FE13E0B927745296135E /* Pods-CountrySelectorView_Tests */, + ); + name = "Targets Support Files"; + sourceTree = ""; + }; + 1AD576919825C54E07897C3EF7ECC7D9 /* Pods-CountrySelectorView_Example */ = { + isa = PBXGroup; + children = ( + C4304D6E215F68FB47F5A09D8A406B55 /* Pods-CountrySelectorView_Example.modulemap */, + 994BB2933A36C1E6D53C69F8B5C916D1 /* Pods-CountrySelectorView_Example-acknowledgements.markdown */, + 9556879B0E349F041865D1942B4E0211 /* Pods-CountrySelectorView_Example-acknowledgements.plist */, + EE248711C22595D7A4525BF44799141E /* Pods-CountrySelectorView_Example-dummy.m */, + A32C56F590A23410DA88EBB65F05756E /* Pods-CountrySelectorView_Example-frameworks.sh */, + C85C3D317A8D2850DBB27EC7F518159D /* Pods-CountrySelectorView_Example-Info.plist */, + 9DBEF0F19F9BBDD4F0E034138D4653E2 /* Pods-CountrySelectorView_Example-umbrella.h */, + 861D30CEECF94EEE9AF8CE2907AC2B06 /* Pods-CountrySelectorView_Example.debug.xcconfig */, + C8C6ED19C2D01178E559A3E4970F082C /* Pods-CountrySelectorView_Example.release.xcconfig */, + ); + name = "Pods-CountrySelectorView_Example"; + path = "Target Support Files/Pods-CountrySelectorView_Example"; + sourceTree = ""; + }; + 1E40C05F07D9A541396F3DABE3E865C1 /* Support Files */ = { + isa = PBXGroup; + children = ( + C519C4D997B3149F8CCDD40A341D7FAE /* CountrySelectorView.modulemap */, + E9C4C9FE930702A01486A5DFD0170694 /* CountrySelectorView-dummy.m */, + B8F536602DF68EA292BFDFF352CAAE6F /* CountrySelectorView-Info.plist */, + 689AFFDCF62C0C4A2F4FC00A255B60E0 /* CountrySelectorView-prefix.pch */, + 2D5262F6CD83140D9C51651E265E2113 /* CountrySelectorView-umbrella.h */, + 4C5D09D4FE6A620AFAB5D6798BADA3C2 /* CountrySelectorView.debug.xcconfig */, + F102427F30042254DC712A60D469BD73 /* CountrySelectorView.release.xcconfig */, + ); + name = "Support Files"; + path = "Example/Pods/Target Support Files/CountrySelectorView"; + sourceTree = ""; + }; + 4B131C075BECE41A7EFAA7EF978564A2 /* CountrySelectorView */ = { + isa = PBXGroup; + children = ( + 430514C524BD84630008DE9B /* countries.json */, + 430514BB24BD84520008DE9B /* CPCountry.swift */, + 430514BC24BD84520008DE9B /* Protocols.swift */, + 430514BA24BD84520008DE9B /* CountrySelectorViewController.swift */, + 430514BE24BD84520008DE9B /* CountryListViewController.swift */, + 430514B924BD84520008DE9B /* CountryPickerView.swift */, + 430514BD24BD84520008DE9B /* CountryPickerRowView.swift */, + B4E25211C9FA99F64675A0D2A064A27C /* Pod */, + 1E40C05F07D9A541396F3DABE3E865C1 /* Support Files */, + ); + name = CountrySelectorView; + path = ../..; + sourceTree = ""; + }; + 7E39B00EA869DBA8C068F1C06FFD1C67 /* Development Pods */ = { + isa = PBXGroup; + children = ( + 4B131C075BECE41A7EFAA7EF978564A2 /* CountrySelectorView */, + ); + name = "Development Pods"; + sourceTree = ""; + }; + B441A8F7E801FE13E0B927745296135E /* Pods-CountrySelectorView_Tests */ = { + isa = PBXGroup; + children = ( + 647B4198122E471654BDEC033158897B /* Pods-CountrySelectorView_Tests.modulemap */, + E70795CED78BCA9AAA21A9F458510577 /* Pods-CountrySelectorView_Tests-acknowledgements.markdown */, + 433394D40D18EE36E7F166D03409FB3C /* Pods-CountrySelectorView_Tests-acknowledgements.plist */, + CEC5DCE174BDBA30908C9114159C53D8 /* Pods-CountrySelectorView_Tests-dummy.m */, + 7DEF36BEF68A639DC14592F2BBF6B9D7 /* Pods-CountrySelectorView_Tests-Info.plist */, + BA859F227A394F190305DD3BB03D9435 /* Pods-CountrySelectorView_Tests-umbrella.h */, + 167FA340F38BBF72EB000259AD5D3386 /* Pods-CountrySelectorView_Tests.debug.xcconfig */, + A15FEDD36DBED1D33084DF328AB444E9 /* Pods-CountrySelectorView_Tests.release.xcconfig */, + ); + name = "Pods-CountrySelectorView_Tests"; + path = "Target Support Files/Pods-CountrySelectorView_Tests"; + sourceTree = ""; + }; + B4E25211C9FA99F64675A0D2A064A27C /* Pod */ = { + isa = PBXGroup; + children = ( + 2A52D3E22C87AB337B48301FC55238D4 /* CountrySelectorView.podspec */, + 98A6A5C40F8D0FA4A81CBCF3E11C6292 /* LICENSE */, + 90993E4159180E6AB7ED7C0D3E315999 /* README.md */, + ); + name = Pod; + sourceTree = ""; + }; + C0834CEBB1379A84116EF29F93051C60 /* iOS */ = { + isa = PBXGroup; + children = ( + 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */, + ); + name = iOS; + sourceTree = ""; + }; + CF1408CF629C7361332E53B88F7BD30C = { + isa = PBXGroup; + children = ( + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, + 7E39B00EA869DBA8C068F1C06FFD1C67 /* Development Pods */, + D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, + D1592204CB9F32947F869C6B58ED55A6 /* Products */, + 180F8E9215520C69E92E5588C2EFD75D /* Targets Support Files */, + ); + sourceTree = ""; + }; + D1592204CB9F32947F869C6B58ED55A6 /* Products */ = { + isa = PBXGroup; + children = ( + D806FAE7694DE1051D45466E783DC8C1 /* CountrySelectorView.framework */, + 1D0CF2C91624C95450490B21BB9E41A8 /* Pods_CountrySelectorView_Example.framework */, + 2ACF26CAA03455CA495DC116EAE2E387 /* Pods_CountrySelectorView_Tests.framework */, + ); + name = Products; + sourceTree = ""; + }; + D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { + isa = PBXGroup; + children = ( + C0834CEBB1379A84116EF29F93051C60 /* iOS */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + A8936D941D8FFAC25B4289F49219D5A1 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ECB3A5A70612A8E1C44FE507B94A4B51 /* CountrySelectorView-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EB248AFD756888EBBDA743F7DA25CB6B /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 5608A3BDE2C20EDCB2BFDC393808A552 /* Pods-CountrySelectorView_Tests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EEB3C538A9E81B93F5CFAD6CFC967B9B /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + F3F2C5E804691173E2A3A5490E4C1DC7 /* Pods-CountrySelectorView_Example-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 5FDB5FFE4175A12DE582656F6DEA6B8D /* Pods-CountrySelectorView_Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 00048ACE2BC015EBD5EF318B21CFF28C /* Build configuration list for PBXNativeTarget "Pods-CountrySelectorView_Tests" */; + buildPhases = ( + EB248AFD756888EBBDA743F7DA25CB6B /* Headers */, + 45C0F7049EE93256F7C71139FA88CD53 /* Sources */, + 6D82924D0BD2B37318A8E8F27CAB1483 /* Frameworks */, + 6EECF76B7FB706ED1118B18BCDAD535B /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + B198B51FCFEAF918D5DEA38B6F0B7064 /* PBXTargetDependency */, + ); + name = "Pods-CountrySelectorView_Tests"; + productName = "Pods-CountrySelectorView_Tests"; + productReference = 2ACF26CAA03455CA495DC116EAE2E387 /* Pods_CountrySelectorView_Tests.framework */; + productType = "com.apple.product-type.framework"; + }; + 7126DF6F4775F62F98FA687589F67C63 /* Pods-CountrySelectorView_Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = A76C6EE7979DEC6AC4D1AA16ACB85B59 /* Build configuration list for PBXNativeTarget "Pods-CountrySelectorView_Example" */; + buildPhases = ( + EEB3C538A9E81B93F5CFAD6CFC967B9B /* Headers */, + 9AD3B5CD757C4D788AA843603C1B905F /* Sources */, + 42E72DB6ACCD4BF52AEE8911B1036F55 /* Frameworks */, + 21DB09BF973F181EAE36BEE391164326 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 632D77EAE9D1A3EAAF965331FF5D02B5 /* PBXTargetDependency */, + ); + name = "Pods-CountrySelectorView_Example"; + productName = "Pods-CountrySelectorView_Example"; + productReference = 1D0CF2C91624C95450490B21BB9E41A8 /* Pods_CountrySelectorView_Example.framework */; + productType = "com.apple.product-type.framework"; + }; + 964048F3E3489B56547178C8B13C297A /* CountrySelectorView */ = { + isa = PBXNativeTarget; + buildConfigurationList = B3DD61C2621D38FFF5AEEA44154ACCF3 /* Build configuration list for PBXNativeTarget "CountrySelectorView" */; + buildPhases = ( + A8936D941D8FFAC25B4289F49219D5A1 /* Headers */, + 5EDCBEEAB25466FE0A5363C7D03146D7 /* Sources */, + 6D60486887541CF24B5312E61FCB8020 /* Frameworks */, + DB18C1B7C2AB76CD58E58F28A4A92AF3 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = CountrySelectorView; + productName = CountrySelectorView; + productReference = D806FAE7694DE1051D45466E783DC8C1 /* CountrySelectorView.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + BFDFE7DC352907FC980B868725387E98 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1100; + LastUpgradeCheck = 1100; + }; + buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = CF1408CF629C7361332E53B88F7BD30C; + productRefGroup = D1592204CB9F32947F869C6B58ED55A6 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 964048F3E3489B56547178C8B13C297A /* CountrySelectorView */, + 7126DF6F4775F62F98FA687589F67C63 /* Pods-CountrySelectorView_Example */, + 5FDB5FFE4175A12DE582656F6DEA6B8D /* Pods-CountrySelectorView_Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 21DB09BF973F181EAE36BEE391164326 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6EECF76B7FB706ED1118B18BCDAD535B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DB18C1B7C2AB76CD58E58F28A4A92AF3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 430514C624BD84630008DE9B /* countries.json in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 45C0F7049EE93256F7C71139FA88CD53 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 25B486999D6BEEEB5B85C66E2B8D17EA /* Pods-CountrySelectorView_Tests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5EDCBEEAB25466FE0A5363C7D03146D7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 430514C324BD84520008DE9B /* CountryPickerRowView.swift in Sources */, + 430514C424BD84520008DE9B /* CountryListViewController.swift in Sources */, + F34AC42ABBE9DE3C9651F32498952897 /* CountrySelectorView-dummy.m in Sources */, + 430514BF24BD84520008DE9B /* CountryPickerView.swift in Sources */, + 430514C224BD84520008DE9B /* Protocols.swift in Sources */, + 430514C024BD84520008DE9B /* CountrySelectorViewController.swift in Sources */, + 430514C124BD84520008DE9B /* CPCountry.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 9AD3B5CD757C4D788AA843603C1B905F /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E960BEF39262826CE34F65A25C0C5022 /* Pods-CountrySelectorView_Example-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 632D77EAE9D1A3EAAF965331FF5D02B5 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = CountrySelectorView; + target = 964048F3E3489B56547178C8B13C297A /* CountrySelectorView */; + targetProxy = 7722EF879C5FB16B062E4337B3515C7B /* PBXContainerItemProxy */; + }; + B198B51FCFEAF918D5DEA38B6F0B7064 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "Pods-CountrySelectorView_Example"; + target = 7126DF6F4775F62F98FA687589F67C63 /* Pods-CountrySelectorView_Example */; + targetProxy = 1E09B9F791086D58762E41CAC9E10CCB /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 51D02446C4203F60A19ADDBB3572509D /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 4C5D09D4FE6A620AFAB5D6798BADA3C2 /* CountrySelectorView.debug.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = NO; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/CountrySelectorView/CountrySelectorView-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/CountrySelectorView/CountrySelectorView-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/CountrySelectorView/CountrySelectorView.modulemap"; + PRODUCT_MODULE_NAME = CountrySelectorView; + PRODUCT_NAME = CountrySelectorView; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 5ECC69E5D90F2A6CB8BB42ED528CF3F3 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 167FA340F38BBF72EB000259AD5D3386 /* Pods-CountrySelectorView_Tests.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 64B596294658D27AB6846B8835375B3D /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F102427F30042254DC712A60D469BD73 /* CountrySelectorView.release.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = NO; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/CountrySelectorView/CountrySelectorView-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/CountrySelectorView/CountrySelectorView-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/CountrySelectorView/CountrySelectorView.modulemap"; + PRODUCT_MODULE_NAME = CountrySelectorView; + PRODUCT_NAME = CountrySelectorView; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 969D09E96A9BCA4FD850075D70929A93 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = A15FEDD36DBED1D33084DF328AB444E9 /* Pods-CountrySelectorView_Tests.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + AA29EE7173D9E43D00971D96202FE4FB /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 861D30CEECF94EEE9AF8CE2907AC2B06 /* Pods-CountrySelectorView_Example.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + B0087CB4594321EF41619F3181FE120E /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_RELEASE=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRIP_INSTALLED_PRODUCT = NO; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 5.0; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Release; + }; + B8BCBD0110C2658BB5DAADB9B7D97B92 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_DEBUG=1", + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRIP_INSTALLED_PRODUCT = NO; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Debug; + }; + C5A1DC26395A1679FBCCEA8B1B20085C /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = C8C6ED19C2D01178E559A3E4970F082C /* Pods-CountrySelectorView_Example.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 00048ACE2BC015EBD5EF318B21CFF28C /* Build configuration list for PBXNativeTarget "Pods-CountrySelectorView_Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5ECC69E5D90F2A6CB8BB42ED528CF3F3 /* Debug */, + 969D09E96A9BCA4FD850075D70929A93 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B8BCBD0110C2658BB5DAADB9B7D97B92 /* Debug */, + B0087CB4594321EF41619F3181FE120E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A76C6EE7979DEC6AC4D1AA16ACB85B59 /* Build configuration list for PBXNativeTarget "Pods-CountrySelectorView_Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + AA29EE7173D9E43D00971D96202FE4FB /* Debug */, + C5A1DC26395A1679FBCCEA8B1B20085C /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B3DD61C2621D38FFF5AEEA44154ACCF3 /* Build configuration list for PBXNativeTarget "CountrySelectorView" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 51D02446C4203F60A19ADDBB3572509D /* Debug */, + 64B596294658D27AB6846B8835375B3D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; +} diff --git a/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView-Info.plist b/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView-Info.plist new file mode 100644 index 0000000..161a9d3 --- /dev/null +++ b/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 0.1.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView-dummy.m b/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView-dummy.m new file mode 100644 index 0000000..fabdd74 --- /dev/null +++ b/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_CountrySelectorView : NSObject +@end +@implementation PodsDummy_CountrySelectorView +@end diff --git a/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView-prefix.pch b/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView-prefix.pch new file mode 100644 index 0000000..beb2a24 --- /dev/null +++ b/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView-prefix.pch @@ -0,0 +1,12 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + diff --git a/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView-umbrella.h b/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView-umbrella.h new file mode 100644 index 0000000..ddb9af4 --- /dev/null +++ b/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double CountrySelectorViewVersionNumber; +FOUNDATION_EXPORT const unsigned char CountrySelectorViewVersionString[]; + diff --git a/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView.debug.xcconfig b/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView.debug.xcconfig new file mode 100644 index 0000000..566c324 --- /dev/null +++ b/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView.debug.xcconfig @@ -0,0 +1,10 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/CountrySelectorView +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView.modulemap b/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView.modulemap new file mode 100644 index 0000000..16f37e1 --- /dev/null +++ b/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView.modulemap @@ -0,0 +1,6 @@ +framework module CountrySelectorView { + umbrella header "CountrySelectorView-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView.release.xcconfig b/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView.release.xcconfig new file mode 100644 index 0000000..566c324 --- /dev/null +++ b/Example/Pods/Target Support Files/CountrySelectorView/CountrySelectorView.release.xcconfig @@ -0,0 +1,10 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/CountrySelectorView +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-Info.plist b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-acknowledgements.markdown new file mode 100644 index 0000000..9957325 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-acknowledgements.markdown @@ -0,0 +1,26 @@ +# Acknowledgements +This application makes use of the following third party libraries: + +## CountrySelectorView + +Copyright (c) 2020 Isuru-Nanayakkara + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-acknowledgements.plist new file mode 100644 index 0000000..87e04a9 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-acknowledgements.plist @@ -0,0 +1,58 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Copyright (c) 2020 Isuru-Nanayakkara <isuru.nan@gmail.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + License + MIT + Title + CountrySelectorView + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-dummy.m b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-dummy.m new file mode 100644 index 0000000..cccce7f --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_CountrySelectorView_Example : NSObject +@end +@implementation PodsDummy_Pods_CountrySelectorView_Example +@end diff --git a/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-frameworks.sh new file mode 100755 index 0000000..17311b6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-frameworks.sh @@ -0,0 +1,207 @@ +#!/bin/sh +set -e +set -u +set -o pipefail + +function on_error { + echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" +} +trap 'on_error $LINENO' ERR + +if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then + # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy + # frameworks to, so exit 0 (signalling the script phase was successful). + exit 0 +fi + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +# Used as a return value for each invocation of `strip_invalid_archs` function. +STRIP_BINARY_RETVAL=0 + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +# Copies and strips a vendored framework +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # Use filter instead of exclude so missing patterns don't throw errors. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + elif [ -L "${binary}" ]; then + echo "Destination binary is symlinked..." + dirname="$(dirname "${binary}")" + binary="${dirname}/$(readlink "${binary}")" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi +} + +# Copies and strips a vendored dSYM +install_dsym() { + local source="$1" + warn_missing_arch=${2:-true} + if [ -r "$source" ]; then + # Copy the dSYM into the targets temp dir. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" + + local basename + basename="$(basename -s .dSYM "$source")" + binary_name="$(ls "$source/Contents/Resources/DWARF")" + binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}" + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then + strip_invalid_archs "$binary" "$warn_missing_arch" + fi + + if [[ $STRIP_BINARY_RETVAL == 1 ]]; then + # Move the stripped file into its final destination. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}" + else + # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. + touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM" + fi + fi +} + +# Copies the bcsymbolmap files of a vendored framework +install_bcsymbolmap() { + local bcsymbolmap_path="$1" + local destination="${BUILT_PRODUCTS_DIR}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identity + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + warn_missing_arch=${2:-true} + # Get architectures for current target binary + binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" + # Intersect them with the architectures we are building for + intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" + # If there are no archs supported by this binary then warn the user + if [[ -z "$intersected_archs" ]]; then + if [[ "$warn_missing_arch" == "true" ]]; then + echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." + fi + STRIP_BINARY_RETVAL=0 + return + fi + stripped="" + for arch in $binary_archs; do + if ! [[ "${ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi + STRIP_BINARY_RETVAL=1 +} + +install_artifact() { + artifact="$1" + base="$(basename "$artifact")" + case $base in + *.framework) + install_framework "$artifact" + ;; + *.dSYM) + # Suppress arch warnings since XCFrameworks will include many dSYM files + install_dsym "$artifact" "false" + ;; + *.bcsymbolmap) + install_bcsymbolmap "$artifact" + ;; + *) + echo "error: Unrecognized artifact "$artifact"" + ;; + esac +} + +copy_artifacts() { + file_list="$1" + while read artifact; do + install_artifact "$artifact" + done <$file_list +} + +ARTIFACT_LIST_FILE="${BUILT_PRODUCTS_DIR}/cocoapods-artifacts-${CONFIGURATION}.txt" +if [ -r "${ARTIFACT_LIST_FILE}" ]; then + copy_artifacts "${ARTIFACT_LIST_FILE}" +fi + +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/CountrySelectorView/CountrySelectorView.framework" +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/CountrySelectorView/CountrySelectorView.framework" +fi +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait +fi diff --git a/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-umbrella.h b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-umbrella.h new file mode 100644 index 0000000..cf2955c --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_CountrySelectorView_ExampleVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_CountrySelectorView_ExampleVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example.debug.xcconfig new file mode 100644 index 0000000..c8869c0 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example.debug.xcconfig @@ -0,0 +1,12 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CountrySelectorView" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CountrySelectorView/CountrySelectorView.framework/Headers" +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_LDFLAGS = $(inherited) -framework "CountrySelectorView" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example.modulemap b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example.modulemap new file mode 100644 index 0000000..741e0ef --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example.modulemap @@ -0,0 +1,6 @@ +framework module Pods_CountrySelectorView_Example { + umbrella header "Pods-CountrySelectorView_Example-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example.release.xcconfig new file mode 100644 index 0000000..c8869c0 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Example/Pods-CountrySelectorView_Example.release.xcconfig @@ -0,0 +1,12 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CountrySelectorView" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CountrySelectorView/CountrySelectorView.framework/Headers" +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_LDFLAGS = $(inherited) -framework "CountrySelectorView" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-Info.plist b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-acknowledgements.markdown new file mode 100644 index 0000000..102af75 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-acknowledgements.markdown @@ -0,0 +1,3 @@ +# Acknowledgements +This application makes use of the following third party libraries: +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-acknowledgements.plist new file mode 100644 index 0000000..7acbad1 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-acknowledgements.plist @@ -0,0 +1,29 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-dummy.m b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-dummy.m new file mode 100644 index 0000000..b12c571 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_CountrySelectorView_Tests : NSObject +@end +@implementation PodsDummy_Pods_CountrySelectorView_Tests +@end diff --git a/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-umbrella.h b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-umbrella.h new file mode 100644 index 0000000..8c423ee --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_CountrySelectorView_TestsVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_CountrySelectorView_TestsVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests.debug.xcconfig new file mode 100644 index 0000000..e210e88 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests.debug.xcconfig @@ -0,0 +1,9 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CountrySelectorView" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CountrySelectorView/CountrySelectorView.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "CountrySelectorView" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests.modulemap b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests.modulemap new file mode 100644 index 0000000..635f393 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests.modulemap @@ -0,0 +1,6 @@ +framework module Pods_CountrySelectorView_Tests { + umbrella header "Pods-CountrySelectorView_Tests-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests.release.xcconfig new file mode 100644 index 0000000..e210e88 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CountrySelectorView_Tests/Pods-CountrySelectorView_Tests.release.xcconfig @@ -0,0 +1,9 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CountrySelectorView" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CountrySelectorView/CountrySelectorView.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "CountrySelectorView" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES