How to get the file path to my application

2008-07-30 Thread Randy Canegaly
If I have a Cocoa application named Fred, how do programmatically (in Fred's code) get the path to the directory where Fred.app is stored? Thanks ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

archive only what changed?

2008-07-07 Thread Randy Canegaly
I have an application whose data model is an NSMutableArray with elements that could be pointers other NSMutableArrays, much like what you would navigate with a NSIndexPath. I am using NSKeyedArchiver to archive the data model to a file. Right now I archive the entire top level array