Re: Silly question
Re: Silly question
- Subject: Re: Silly question
- From: Andreas Monitzer <email@hidden>
- Date: Thu, 20 Dec 2001 19:54:33 +0100
On Thursday, December 20, 2001, at 07:41 , Riccardo Santato wrote:
- (void) mySelector:(id) argument
{
if (condition)
{
NSBeginAlertSheet(...); // I use it with no selectors in
the arguments, so just to display an "OK" button and
// I wait for the user to click it and then...
exit from selector; // HERE is the problem... Is
there a way to quit from selector without
// hurting anybody ?
}
}
What function have I to use in order to quit from my selector ?
hm... return?
if (condition) {
NSBeginAlertSheet(...);
return;
}
andy