Skip navigation.
 
mlRe: termination
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

Related mailsAuthorDate
mltermination Roland Silver Aug 31, 20:56
mlRe: termination Shawn Erickson Aug 31, 20:59
mlRe: termination Mike Abdullah Sep 1, 01:04