Skip to content

Commit

Permalink
Add CocoaPods support
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongwuzw committed Mar 26, 2018
1 parent f067b28 commit df7f9fb
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,9 @@ playground.xcworkspace
# Swift Package Manager
.build/

# Cocoapods

Pods/

# Carthage
Carthage/Build
11 changes: 11 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'

target 'WebBrowser' do
pod 'AFNetworking', '~> 3.1.0'
pod 'CocoaLumberjack', '~> 3.4.1'
pod 'MBProgressHUD', '~> 1.1.0'
pod 'GCDWebServer', '~> 3.4.2'
pod 'SDWebImage', '~> 4.2.3'
pod 'Mantle', '~> 2.1.0'
end
52 changes: 52 additions & 0 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
PODS:
- AFNetworking (3.1.0):
- AFNetworking/NSURLSession (= 3.1.0)
- AFNetworking/Reachability (= 3.1.0)
- AFNetworking/Security (= 3.1.0)
- AFNetworking/Serialization (= 3.1.0)
- AFNetworking/UIKit (= 3.1.0)
- AFNetworking/NSURLSession (3.1.0):
- AFNetworking/Reachability
- AFNetworking/Security
- AFNetworking/Serialization
- AFNetworking/Reachability (3.1.0)
- AFNetworking/Security (3.1.0)
- AFNetworking/Serialization (3.1.0)
- AFNetworking/UIKit (3.1.0):
- AFNetworking/NSURLSession
- CocoaLumberjack (3.4.1):
- CocoaLumberjack/Default (= 3.4.1)
- CocoaLumberjack/Extensions (= 3.4.1)
- CocoaLumberjack/Default (3.4.1)
- CocoaLumberjack/Extensions (3.4.1):
- CocoaLumberjack/Default
- GCDWebServer (3.4.2):
- GCDWebServer/Core (= 3.4.2)
- GCDWebServer/Core (3.4.2)
- Mantle (2.1.0):
- Mantle/extobjc (= 2.1.0)
- Mantle/extobjc (2.1.0)
- MBProgressHUD (1.1.0)
- SDWebImage (4.2.3):
- SDWebImage/Core (= 4.2.3)
- SDWebImage/Core (4.2.3)

DEPENDENCIES:
- AFNetworking (~> 3.1.0)
- CocoaLumberjack (~> 3.4.1)
- GCDWebServer (~> 3.4.2)
- Mantle (~> 2.1.0)
- MBProgressHUD (~> 1.1.0)
- SDWebImage (~> 4.2.3)

SPEC CHECKSUMS:
AFNetworking: 5e0e199f73d8626b11e79750991f5d173d1f8b67
CocoaLumberjack: 2e258a064cacc8eb9a2aca318e24d02a0a7fd56d
GCDWebServer: 8d67ee9f634b4bb91eb4b8aee440318a5fc6debd
Mantle: 2fa750afa478cd625a94230fbf1c13462f29395b
MBProgressHUD: e7baa36a220447d8aeb12769bf0585582f3866d9
SDWebImage: 791bb72962b3492327ddcac4b1880bd1b5458431

PODFILE CHECKSUM: 9722789cc466e37e1e4b81fb7c6b41aaf25d838a

COCOAPODS: 1.4.0
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@

## Usage - 用法
1. `clone` or download zip file.
2. Run command `carthage update --platform iOS`
3. Just run WebBrowser.xcodeproj
2. Run command `carthage update --platform iOS` or `pod install`
3. Open WebBrowser.xcodeproj(Carthage) or WebBrowser.xcworkspace(Cocoapods)

## Requirements - 依赖
* iOS 8.0 or higher
* Xcode 9
* ARC
* [Carthage](https://github.com/Carthage/Carthage)
* [Carthage](https://github.com/Carthage/Carthage) or [CocoaPods](https://github.com/CocoaPods/CocoaPods)

## Demo

Expand Down
10 changes: 10 additions & 0 deletions WebBrowser.xcworkspace/contents.xcworkspacedata

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

0 comments on commit df7f9fb

Please sign in to comment.