NSFileManager Class Reference
PDF
Overview
Tasks
Getting the Default Manager
Moving an Item
Copying an Item
Removing an Item
Creating an Item
Linking an Item
Symbolic-Link Operations
Handling File Operations
Getting and Comparing File Contents
Discovering Directory Contents
Determining Access to Files
Getting and Setting Attributes
Getting Representations of File Paths
Managing the Delegate
Managing the Current Directory
Class Methods
defaultManager
Instance Methods
attributesOfFileSystemForPath:error:
attributesOfItemAtPath:error:
changeCurrentDirectoryPath:
changeFileAttributes:atPath:
componentsToDisplayForPath:
contentsAtPath:
contentsEqualAtPath:andPath:
contentsOfDirectoryAtPath:error:
copyItemAtPath:toPath:error:
copyPath:toPath:handler:
createDirectoryAtPath:attributes:
createDirectoryAtPath:withIntermediateDirectories:attributes:error:
createFileAtPath:contents:attributes:
createSymbolicLinkAtPath:pathContent:
createSymbolicLinkAtPath:withDestinationPath:error:
currentDirectoryPath
delegate
destinationOfSymbolicLinkAtPath:error:
directoryContentsAtPath:
displayNameAtPath:
enumeratorAtPath:
fileAttributesAtPath:traverseLink:
fileExistsAtPath:
fileExistsAtPath:isDirectory:
fileSystemAttributesAtPath:
fileSystemRepresentationWithPath:
isDeletableFileAtPath:
isExecutableFileAtPath:
isReadableFileAtPath:
isWritableFileAtPath:
linkItemAtPath:toPath:error:
linkPath:toPath:handler:
moveItemAtPath:toPath:error:
movePath:toPath:handler:
pathContentOfSymbolicLinkAtPath:
removeFileAtPath:handler:
removeItemAtPath:error:
setAttributes:ofItemAtPath:error:
setDelegate:
stringWithFileSystemRepresentation:length:
subpathsAtPath:
subpathsOfDirectoryAtPath:error:
Delegate Methods
fileManager:shouldCopyItemAtPath:toPath:
fileManager:shouldLinkItemAtPath:toPath:
fileManager:shouldMoveItemAtPath:toPath:
fileManager:shouldProceedAfterError:
fileManager:shouldProceedAfterError:copyingItemAtPath:toPath:
fileManager:shouldProceedAfterError:linkingItemAtPath:toPath:
fileManager:shouldProceedAfterError:movingItemAtPath:toPath:
fileManager:shouldProceedAfterError:removingItemAtPath:
fileManager:shouldRemoveItemAtPath:
fileManager:willProcessPath:
Constants
File Attribute Keys
File Type Attribute Keys
File-System Attribute Keys
Resource Fork Support
Revision History
Index
Companion Guide
Low-Level File Management Programming Topics