[NSKeyedArchiver archiveRootObject:] no instantiation?


#1

Reference: Page 261

In the code below, what is the principle behind the archiveRootObject: method being invoked without creating an instance of NSKeyedArchiver object?
Based on documentation, archiveRootObject: is a class method . Is that the privilege? Anyone have an idea? Thanks!

- (BOOL)saveChanges { // returns success or failure return [NSKeyedArchiver archiveRootObject:allPossessions toFile:[self possessionArchivePath]]; }


#2

the link below may have answered my question but any thoughts are welcome…

stackoverflow.com/questions/1053 … ce-methods