mirror of
https://github.com/caoer/CodableFirebase.git
synced 2026-04-21 01:47:09 +08:00
Update README.md
This commit is contained in:
25
README.md
25
README.md
@@ -80,3 +80,28 @@ Firestore.firestore().collection("data").document("one").getDocument { (document
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Integration
|
||||
|
||||
### CocoaPods (iOS 9+)
|
||||
|
||||
You can use CocoaPods to install SwiftyJSONModel by adding it to your Podfile:
|
||||
|
||||
```swift
|
||||
platform :ios, '9.0'
|
||||
use_frameworks!
|
||||
|
||||
target 'MyApp' do
|
||||
pod 'CodableFirebase'
|
||||
end
|
||||
```
|
||||
|
||||
Note that this requires CocoaPods version 36, and your iOS deployment target to be at least 8.0:
|
||||
|
||||
### Carthage (iOS 9+)
|
||||
|
||||
You can use Carthage to install SwiftyJSONModel by adding it to your Cartfile:
|
||||
|
||||
```swift
|
||||
github "alickbass/CodableFirebase"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user