In my Cocoa application (not document based), I write a key-coded array to the disc and the method works perfectly. The only drawback is that it takes ages (OS 10.4.1). Granted, the file is 6 MB but should it really take several minutes? Any suggestions why this is so slow and how to make it faster?
Thanks,
Till
NSMutableDictionary *rootObject = [NSMutableDictionary dictionary];
[rootObject setValue: [here, I pass an NSMUtableArray created in the program]
forKey"channels"];
[NSKeyedArchiver archiveRootObject: rootObject toFile: path];
Thanks,
Till
NSMutableDictionary *rootObject = [NSMutableDictionary dictionary];
[rootObject setValue: [here, I pass an NSMUtableArray created in the program]
forKey"channels"];
[NSKeyedArchiver archiveRootObject: rootObject toFile: path];