Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Tutorial: Local App Data Sharing

DZone's Guide to

Tutorial: Local App Data Sharing

· Mobile Zone
Free Resource

There’s a comprehensive — well-nigh exhaustive, in fact — roundup of the pre-WWDC state of the art options for data sharing here:

Tutorial: Sharing Data Locally Between iOS Apps

In the sandboxed world of iOS development sharing data between applications can prove difficult. There are a number of reasons you may want your application to share data with other applications:

  • Releasing a paid app upgrade with a new SKU.
  • Moving user data to a universal binary.
  • Releasing a suite of complementary applications.
  • Partnerships with other developers.

Since iOS developers can’t share data directly through the file system [Did they ever plug this hole? -ed.], they need to find alternate solutions for their applications. Some common solutions include:

  • UIDocumentInteractionController …
  • UIActivityViewController …
  • Shared Keychain Access …
  • Custom URL Scheme …
  • Web Service …
  • UIPasteboard + URL Scheme …

That last one being the one that it delves into the details of, with solution github project here.

Improvements to this suite of options next week are common rumoursandwishes, so check back here after the show to see what the new shiny state of the art is!

Topics:

Published at DZone with permission of Alex Curylo, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}