• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Silly question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Silly question (From: Riccardo Santato <email@hidden>)

  • Prev by Date: Re: (OT) auto-indent a big hit here
  • Next by Date: Re: (OT) auto-indent a big hit here
  • Previous by thread: Re: Silly question
  • Next by thread: Re: Silly question
  • Index(es):
    • Date
    • Thread