Skip to content

Commit

Permalink
Add a Swift port of SnowplowDemo (close #342)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhadam committed Mar 13, 2018
1 parent bba4408 commit 496f857
Show file tree
Hide file tree
Showing 98 changed files with 11,804 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ env:
matrix:
- TEST_PLATFORM="platform=iOS Simulator,OS=8.1,name=iPhone 5s"
- TEST_PLATFORM="platform=iOS Simulator,OS=9.0,name=iPhone 6"
- TEST_PLATFORM="platform=iOS Simulator,OS=11.1,name=iPhone 7"

rvm:
- 2.2.2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{
"images" : [
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "iphone",
Expand Down Expand Up @@ -36,6 +46,16 @@
"filename" : "logo-white-180.png",
"scale" : "3x"
},
{
"idiom" : "ipad",
"size" : "20x20",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "20x20",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "ipad",
Expand Down Expand Up @@ -71,6 +91,16 @@
"idiom" : "ipad",
"filename" : "logo-white-152.png",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "83.5x83.5",
"scale" : "2x"
},
{
"idiom" : "ios-marketing",
"size" : "1024x1024",
"scale" : "1x"
}
],
"info" : {
Expand Down
32 changes: 32 additions & 0 deletions SnowplowSwiftDemo/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'SnowplowSwiftDemo' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!

# Pods for SnowplowSwiftDemo

pod 'SnowplowTracker', :path => '../'
pod 'SwiftTryCatch'

target 'SnowplowSwiftDemoTests' do
inherit! :search_paths
# Pods for testing
end

target 'SnowplowSwiftDemoUITests' do
inherit! :search_paths
# Pods for testing
end

end

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['CLANG_ENABLE_OBJC_WEAK'] ||= 'YES'
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
end
end
end
27 changes: 27 additions & 0 deletions SnowplowSwiftDemo/Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
PODS:
- FMDB (2.6.2):
- FMDB/standard (= 2.6.2)
- FMDB/standard (2.6.2)
- Reachability (3.2)
- SnowplowTracker (0.7.0):
- FMDB (= 2.6.2)
- Reachability (= 3.2)
- SwiftTryCatch (0.0.1)

DEPENDENCIES:
- SnowplowTracker (from `../`)
- SwiftTryCatch

EXTERNAL SOURCES:
SnowplowTracker:
:path: ../

SPEC CHECKSUMS:
FMDB: 854a0341b4726e53276f2a8996f06f1b80f9259a
Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96
SnowplowTracker: b445639aac57dc8f4c01d7433e370e5915103a4c
SwiftTryCatch: fb6d2b34abe48efd69578dac919293a44f95b481

PODFILE CHECKSUM: ee8668707da942c0c024303e73e0f57defbe9eaf

COCOAPODS: 1.4.0.rc.1
28 changes: 28 additions & 0 deletions SnowplowSwiftDemo/Pods/FMDB/LICENSE.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 496f857

Please sign in to comment.