Comparing creation/modification date of NSData objects

At first I have a plist file in app bundle. At some point the file can get updated (downloaded into Documents Folder). Whats the best way to know which file is newer? The mainbundle plist could get updated with new App Version and then the downloaded one would be the oldest. I do have a timestamp inside the plist but I actually don't want to load each of them into memory to be able to compare the dates, as each takes 1-2 seconds. Is there some kind of creation date that I could compare?


How about this:

NSError *error = nil;
NSDictionary* dict = [NSFileManager attributesOfItemAtPath:path error:&error];
NSDate* date = [dict fileModificationDate];

Need Your Help

Getting more data from the Japanese IME

c# unicode localization ime

In my c# form I have a data grid view where I want to input both kanji and kana version of a word or sentence, putting them in different columns. For example:

How to chain an array in mootools?

mootools chaining

Say you have an array in mootools: