Am 28.05.2008 um 06:00 Uhr schrieb Jens Alfke:

I have defined Quit: on my main object, so I pass self as the first argument.

This is, functionally, correct.

However, the method should be named "quit:", not "Quit:".

And while we are at it, "quit:" isn't a good name either, 'cause it sounds like something you'd sent the receiver to tell him to quit.

I suggest you name it 'applicationWillTerminate:'. That's clear and unambiguous.


Andreas
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to