• 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: How to interrupt a function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to interrupt a function


  • Subject: Re: How to interrupt a function
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 30 Nov 2005 09:35:41 -0500



  How about  "return;"?

--
I.S.


On Nov 30, 2005, at 9:33 AM, Andrea Salomoni wrote:

Hi to all,

I need a simple way to interrupt a function returning void.

-(void)method:(NSString*)aString
{
if (condition)
	{

}
else
	{

something like exit....
}
}

Anyone can tell me how to do?

Thank you all
Andrea

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >How to interrupt a function (From: Andrea Salomoni <email@hidden>)

  • Prev by Date: Re: Is Apple's singleton sample code correct?
  • Next by Date: Re: How to interrupt a function
  • Previous by thread: How to interrupt a function
  • Next by thread: Re: How to interrupt a function
  • Index(es):
    • Date
    • Thread