Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

18. iCloud Basics > Handy Routines

Handy Routines

This section presents a number of extremely simple routines that work together to allow you to manage files across your sandbox and cloud Documents folders. These methods assume your files live at the top level of these folders for several reasons:

• Both the container and sandbox Documents folders are made accessible to your users via Settings and iTunes. Therefore, they are directly visible.

• Neither system supports subfolders at this time.

• Your users own these folders directly, according to Apple’s guidelines, and should have full access and visibility to all materials contained within.

Local URLs

Working with the sandbox Documents folder involves little more than querying for the documents directory. These methods return the documents folder and URLs that point inside that folder. This localFileURL: method does not test the URL it returns to see if it points to a valid object.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial