• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

couchbaselabs/mobile-training-todo: ToDo List app built with Couchbase Mobile

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

couchbaselabs/mobile-training-todo

开源软件地址(OpenSource Url):

https://github.com/couchbaselabs/mobile-training-todo

开源编程语言(OpenSource Language):

C# 39.8%

开源软件介绍(OpenSource Introduction):

ToDo Application

ToDo iOS sample app built with CouchbaseLite 2.5.0. The application has Android, DotNet, Objective-C and Swift versions.

Requirements

  • XCode 10.0

How to build and run?

  1. Clone the project and checkout feature/2.5 branch.
$ git clone https://github.com/couchbaselabs/mobile-training-todo.git
$ git checkout feature/2.5
  1. cd into the project: android, dotnet, objc or swift.

  2. Download framework from here(from mobile section) for the respective platform.

  3. Copy respective framework into the Frameworks folder.

  • CouchbaseLite.framework for objc
  • CouchbaseLiteSwift.framework for swift
  1. Open project.
  • For iOS, open Todo.xcodeproj with your XCode. Select Todo scheme and Run.

How to use the replication feature?

  1. Download Sync Gateway(from mobile section).
  2. Start Sync Gateway with the configuration file in the root of this project. ======= ToDo sample app.

How to build and run?

  1. Clone the project.
$ git clone https://github.com/couchbaselabs/mobile-training-todo.git
  1. Go into the folder based on your platform selection.

  2. For the iOS platform (objc or swift), download the latest Couchbase Lite for Objectve-C or Swift. Copy CouchbaseLite.framework for Objective-C or CouchbaseLiteSwift.framework for Swift into the Frameworks folder.

  3. Depending on your selected platform, use an appropriate IDE (XCode for iOS, Android Studio for Android, and Xamarin Studio for .NET) to open the ToDo application project.

  4. Run the application.

How to use the replication feature?

  1. Download the latest Sync Gateway.
  2. Start Sync Gateway with the the configuration from here as follows:
~/Downloads/couchbase-sync-gateway/bin/sync_gateway sync-gateway-config.json

iOS

  1. From the AppDelegate in the XCode project, change kLoginFlowEnabled and kSyncEnabled variable to YES/true.
  2. From the AppDelegate in the XCode project, change the hostname of the kSyncGatewayUrl as needed.
  3. Rerun the Todo app.



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap