Archives an object graph rooted at a given object by encoding it into a data object then atomically writes the resulting data object to a file at a given path, and returns a Boolean value that indicates whether the operation was successful.
Original signature is '+ (BOOL)archiveRootObject:(id)rootObject toFile:(NSString *)path'
Available in Mac OS X v10.2 and later.
Declaration Syntax
Return Value
YES if the operation was successful, otherwise NO.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)