Changes

Working with Directories on iOS 6

7 bytes added, 20:01, 19 December 2012
no edit summary
Since the introduction of iOS 5 the iPhone app developer has had two options in terms of storing data. Files and data may now be stored on the file system of the local device or remotely using Apple’s iCloud service. In practice, however, it is most likely that an application will utilize iCloud storage to augment, rather than replace, the use of the local file system so familiarity with both concepts is still a necessity.
The topic of iCloud based storage will be covered in detail beginning with the chapter entitled [[Preparing an iOS 6 App to use iCloud Storage]]. The goal of this chapter, however, is provide an overview of how to work with local file system directories from within an iOS 6 iPhone application. Topics covered include identifying the application’s document and temporary directories, finding the current working directory, creating, removing and renaming directories and obtaining listings of a directory’s content. Once the topic of directory management has been covered, we will move on to handling files in [[Working with iPhone Files on iOS 6]].
== The Application Documents Directory ==