FireStore
使用此框架处理 Firebase Firestore
变得非常简单!提供了参考、自动数据映射和响应式扩展,以帮助您专注于构建您的应用程序。
🎲 Playground
转到包含的 Playground,快速了解此框架的功能!
- 克隆此仓库。
- 使用
$ pod install
安装 pods - 打开
FireStore.xcworkspace
- 使用 iOS 模拟器构建
FireStore-iOS
模式 - 打开
Playground.playground
- 运行 Playground !
🛠 安装
CocoaPods
如果您正在使用 CocoaPods 作为依赖管理器,请将以下行添加到您的 Podfile
别忘了添加 pods 'Firebase/Core' & 'Firebase/Firestore' !
pod 'FireStore'
pod 'Firebase/Core', '~> 5.12.0'
pod 'Firebase/Firestore', '~> 5.12.0'
并使用此命令更新您的 pods
$ pod install
手动
要将 FireStore 手动添加到您的项目中,下载源代码并将其放入您的项目目录中。
👋 贡献
- 此仓库。
- 创建一个功能分支(
git checkout -b feature/myFeature
) - 提交更改(
git commit -am 'Add my new feature'
) - 将分支推送到 origin(
git push origin feature/myFeature
) - 创建一个新的 Pull Request
✍️ 作者
FireStore 由 José Donor 创建并维护。
👏 问候
FireStore 是由于以下内容而得以实现
📃 许可
FireStore 采用 Apache 2.0 许可协议发布。更多信息请参阅 许可信息。