2011-04-20 195 views

回答

0
if (! [NSKeyedArchiver archiveRootObject: myInterestingObject 
        toFile: reallyCoolArchivePath ]) {  
    NSLog(@" archiver write failed."); 
} else { 
    NSLog(@" archiver write SUCCEEDED."); 
} 

讓他們回到NSKeyedUnarchiver。