Implementing iOS and macOS Documents with the Files App

Managing Files and Ensuring Compatibility

  • Jesse Feiler

Table of contents

  1. Front Matter
    Pages i-ix
  2. Jesse Feiler
    Pages 1-4
  3. Jesse Feiler
    Pages 5-12
  4. Jesse Feiler
    Pages 25-33
  5. Jesse Feiler
    Pages 49-60
  6. Jesse Feiler
    Pages 83-98
  7. Jesse Feiler
    Pages 123-131
  8. Jesse Feiler
    Pages 133-152
  9. Back Matter
    Pages 153-156

About this book


Rise above the basics of Xcode app development to implement tools like Share buttons and activity view controllers to share document content including parts of documents with other users and with other devices. This book fills the gap so that developers with even a fundamental knowledge of iOS and Swift can implement document creation, saving, and sharing in their apps.

Since the launch of iPhone in 2007, users and developers have struggled with the fact that the file system is hidden. Fortunately the Files app in iOS 11 now offers this feature and it is supported by Apple apps such as Numbers, Pages, and Keynote as well as by the few third-party apps that support documents. 

By using the standard formats described in this book, you can make your app’s data shareable to and from other apps like Numbers, Pages, and Word. Files also provides an interface to tools such as Dropbox and iCloud so that users can open and modify documents in them. If you combine standard formats such as .doc, .docx, .jpeg, and .jpg with Dropbox and eMail, you have a simple way to implement and use cross-platform sharing to Macs, PCs, and Android devices.

Implementing iOS and macOS Documents with the Files App provides the combination of skills developers need to build these types of apps—working with files and constructing documents.


iOS document macOS document app data data analytics iOS files file manager UIDocument NSDocument Files App

Authors and affiliations

  • Jesse Feiler
    • 1
  1. 1.PlattsburghUSA

Bibliographic information

Industry Sectors
IT & Software