mirror of
https://github.com/caoer/CodableFirebase.git
synced 2026-04-01 22:35:55 +08:00
Update README.md
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
Use Codable with Firebase
|
||||
|
||||
[](https://github.com/Carthage/Carthage)
|
||||
[](https://travis-ci.org/alickbass/SweetRouter)
|
||||
[](https://codecov.io/gh/alickbass/SweetRouter)
|
||||
[](https://travis-ci.org/alickbass/CodableFirebase)
|
||||
[](https://codecov.io/gh/alickbass/CodableFirebase)
|
||||
|
||||
## Overview
|
||||
|
||||
@@ -23,7 +23,7 @@ struct Model: Codable {
|
||||
|
||||
And this is how you would encode it with [Firebase Firestore](https://firebase.google.com/products/firestore/):
|
||||
|
||||
```
|
||||
```swift
|
||||
import Firebase
|
||||
|
||||
let model: Model // here you will create an instance of Model
|
||||
|
||||
Reference in New Issue
Block a user