One Quickie


Removing a file (NSFIleManager->General)
    NSFileManager *defaultManager;
    defaultManager = [NSFileManager defaultManager];

    [defaultManager removeFileAtPath: tildeFilename
                    handler: nil];
The handler is an object that will be sent message, like fileManager:shouldProceedAfterError: if something goes wrong during the removal.



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com