Giter VIP home page Giter VIP logo

open-in-place's Introduction

Swift Platform: iOS Twitter

Open in Place

Example app that illustrates how to get open-in-place to work well with iOS document providers.

It shows how to:

  • invoke the document picker in open mode for files and directories
  • receive open-in-place file references through Drag and Drop
  • use and persist the security scoped URLs the document picker or Drag and Drop gives you
  • work with a directory in a coordinated manner to stay in sync
  • edit a text file in a coordinated manner such that your changes are written safely and such that outside changes appear in the editor automatically
  • use the WorkingCopyUrlService file-provider SDK to fetch information about entries

Using the document picker to open directories will probably only work for a few document providers that happen to be Git clients. I am the author of Working Copy that supports this as does Git2Go.

Opening files and file packages (directories masquarading as files) should work for iCloud Drive and other well behaved document providers.

The excellent Textastic has been doing this for a while and my hope is that providing sample code will encourage others to follow suit.

A good place to start is at the top of ListController and EditController.

If you have any questions the easiest way to catch me is on Twitter as @palmin.

open-in-place's People

Contributors

palmin avatar

Watchers

 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.