Re: If Functions
Re: If Functions
- Subject: Re: If Functions
- From: Moray Taylor <email@hidden>
- Date: Sun, 11 Jun 2006 11:01:06 +0100
if ([myString isEqualToString:@"yes"]) {
//do whatever you want to do here
}
Moray
I have a really simple question, which I cannot find the answer to
anywhere.
How do I do an If() function in Cocoa? It does not seem to be
documented!
I have a string variable that will be equal to either "yes" or
"no". How do I do this?
Giles Williams.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40dataactive.com
This email sent to email@hidden
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/
email_________________________________________________________________
_____
_______________________________________________
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: | |
| >If Functions (From: Giles Williams <email@hidden>) |