August 2011
Intermediate to advanced
552 pages
23h 48m
English
Cocoa provides a number of classes and categories that make dealing with the file system easier than using the lower-level Unix interfaces. NSFileManager encapsulates many file system operations, such as moving and renaming files and creating and resolving symbolic links. NSString has categories that make manipulating file paths easier, and starting with Mac OS X 10.6, NSURL has become the preferred way of identifying objects in the file system of interest.
Unix identifies objects in the file system with paths. A path is a listing of directories and optionally a filename, collectively known as path components, separated by a forward slash. Classic Mac OS, as well as parts ...
Read now
Unlock full access