Skip to content

Commit

Permalink
Added library files to Xcode project.
Browse files Browse the repository at this point in the history
Setup demo.
  • Loading branch information
Isuru-Nanayakkara committed Jul 14, 2020
1 parent 8e9386f commit 5492553
Show file tree
Hide file tree
Showing 43 changed files with 3,196 additions and 40 deletions.
67 changes: 52 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
15 changes: 8 additions & 7 deletions CountrySelectorView.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand All @@ -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'
Expand All @@ -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/<TWITTER_USERNAME>'

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
Loading

0 comments on commit 5492553

Please sign in to comment.