Cancel application terminate on Logout/Shut Down

2008-08-29 Thread Andrei Kolev
Hi list, I had to subclass the NSApplication's -terminate method and have a hopefully minor problem: When I receive replyToApplicationShouldTerminate:NO I want to notify the OS that the application will not quit. Otherwise on logout or shutdown after the 30 seconds timeout I get the info

Re: Newb Question re NSUserDefaults and Ints

2008-08-29 Thread Andrei Kolev
Brad, You can't store an int into a Dictionary or user defaults. For the objects you can use, see here: http://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/Articles/AboutPropertyLists.html#/ /apple_ref/doc/uid/20001010 NSNumber and NSString should work. Also, [ICNEleme