FROM : Shawn Erickson
DATE : Thu Aug 31 20:59:45 2006
On 8/31/06, Roland Silver <<email_removed>> wrote:
> NSApplication has a method
> - (void)terminate:(id)sender
> Is the argument required? Can I do this?:
> [NSApp terminate:NULL];
That is an action message. You can send nil.
[NSApp terminate:nil] but often you would send self (to note who the sender is).
-Shawn
DATE : Thu Aug 31 20:59:45 2006
On 8/31/06, Roland Silver <<email_removed>> wrote:
> NSApplication has a method
> - (void)terminate:(id)sender
> Is the argument required? Can I do this?:
> [NSApp terminate:NULL];
That is an action message. You can send nil.
[NSApp terminate:nil] but often you would send self (to note who the sender is).
-Shawn
| Related mails | Author | Date |
|---|---|---|
| Roland Silver | Aug 31, 20:56 | |
| Shawn Erickson | Aug 31, 20:59 | |
| Mike Abdullah | Sep 1, 01:04 |






Cocoa mail archive

