Skip to content

Commit 21e7f7b

Browse files
committed
Wrap with CocoaPods
1 parent 75a8139 commit 21e7f7b

File tree

152 files changed

+2329
-7814
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+2329
-7814
lines changed

.gitignore

Lines changed: 15 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
# Xcode
2-
#
3-
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
1+
# OS X
2+
.DS_Store
43

5-
## Build generated
4+
# Xcode
65
build/
7-
DerivedData/
8-
9-
## Various settings
106
*.pbxuser
117
!default.pbxuser
128
*.mode1v3
@@ -16,50 +12,26 @@ DerivedData/
1612
*.perspectivev3
1713
!default.perspectivev3
1814
xcuserdata/
19-
20-
## Other
15+
*.xccheckout
16+
profile
2117
*.moved-aside
22-
*.xcuserstate
23-
24-
## Obj-C/Swift specific
18+
DerivedData
2519
*.hmap
2620
*.ipa
27-
*.dSYM.zip
28-
*.dSYM
29-
30-
## Playgrounds
31-
timeline.xctimeline
32-
playground.xcworkspace
3321

34-
# Swift Package Manager
35-
#
36-
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
37-
# Packages/
38-
.build/
22+
# Bundler
23+
.bundle
3924

40-
# CocoaPods
41-
#
42-
# We recommend against adding the Pods directory to your .gitignore. However
43-
# you should judge for yourself, the pros and cons are mentioned at:
44-
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
45-
#
46-
# Pods/
47-
48-
# Carthage
49-
#
5025
# Add this line if you want to avoid checking in source code from Carthage dependencies.
5126
# Carthage/Checkouts
5227

5328
Carthage/Build
5429

55-
# fastlane
30+
# We recommend against adding the Pods directory to your .gitignore. However
31+
# you should judge for yourself, the pros and cons are mentioned at:
32+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
33+
#
34+
# Note: if you ignore the Pods directory, make sure to uncomment
35+
# `pod install` in .travis.yml
5636
#
57-
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
58-
# screenshots whenever they are needed.
59-
# For more information about the recommended setup visit:
60-
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
61-
62-
fastlane/report.xml
63-
fastlane/Preview.html
64-
fastlane/screenshots
65-
fastlane/test_output
37+
# Pods/

.swift-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.2

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# references:
2+
# * https://www.objc.io/issues/6-build-tools/travis-ci/
3+
# * https://github.com/supermarin/xcpretty#usage
4+
5+
osx_image: xcode7.3
6+
language: objective-c
7+
# cache: cocoapods
8+
# podfile: Example/Podfile
9+
# before_install:
10+
# - gem install cocoapods # Since Travis is not always on latest version
11+
# - pod install --project-directory=Example
12+
script:
13+
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/WRNavigationBar_swift.xcworkspace -scheme WRNavigationBar_swift-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
14+
- pod lib lint

Example/Podfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
use_frameworks!
2+
3+
target 'WRNavigationBar_swift_Example' do
4+
pod 'WRNavigationBar_swift', :path => '../'
5+
6+
target 'WRNavigationBar_swift_Tests' do
7+
inherit! :search_paths
8+
9+
10+
end
11+
end

Example/Podfile.lock

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
PODS:
2+
- WRNavigationBar_swift (0.1.0)
3+
4+
DEPENDENCIES:
5+
- WRNavigationBar_swift (from `../`)
6+
7+
EXTERNAL SOURCES:
8+
WRNavigationBar_swift:
9+
:path: "../"
10+
11+
SPEC CHECKSUMS:
12+
WRNavigationBar_swift: ec68cfa6759f2f2a3815412ddca899ec2c7b17b5
13+
14+
PODFILE CHECKSUM: b9c9e56e2153483fea864e416272c298196d42b7
15+
16+
COCOAPODS: 1.5.3

Example/Pods/Local Podspecs/WRNavigationBar_swift.podspec.json

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Manifest.lock

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Pods.xcodeproj/project.pbxproj

Lines changed: 754 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/Pods-WRNavigationBar_swift_Example/Pods-WRNavigationBar_swift_Example-acknowledgements.markdown

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)