GithubHelp home page GithubHelp logo

doc22940 / lists-swift Goto Github PK

View Code? Open in Web Editor NEW

This project forked from siskaj/lists-swift

1.0 0.0 0.0 15.42 MB

A sample app for sharing datastores.

Home Page: https://www.dropbox.com/developers/blog/113/lists-app-in-swift-and-swift-hack-day

License: Apache License 2.0

Objective-C 63.64% C 0.18% Swift 36.18%

lists-swift's Introduction

Note: The Datastore API has been retired. Learn more.

Lists

This app demonstrates the Dropbox Datastore API, in particular the use of datastore sharing to support collaboration. You can try the app at dslists.site44.com.

Read more about Lists on the Dropbox Developers Blog.

Understanding the data model

The Lists app lets you create multiple lists, add items to those lists, and share those lists with other users.

  • Each list is a datastore.
  • Each datastore contains an "items" table.
  • Each record in the "items" table has the following fields:
    • "text": The text of the item.
    • "date": When the item was created (used for sorting).

Sharing a datastore

When sharing a datastore, the user needs to set the role for one or more principal. For example, the user might set the "public" role to "viewer" to allow viewing but not editing of the list. To learn more about the datastore sharing model, see the Datastore API HTTP documentation.

Once a role has been set to allow other users to view or edit a datastore, the datastore may be shared via a URL (dslists.site44.com#<datastore ID>) in an email or text message.

If the URL is opened on an iOS device, the user will be prompted to open the datastore in the iOS app. The iOS app uses a custom URL scheme (Lists://<datastore ID>) to open the app to the correct list.

All versions

lists-swift's People

Contributors

greg-db avatar leah avatar ptrjstn avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.