Re: If Functions
Re: If Functions
- Subject: Re: If Functions
- From: Uli Kusterer <email@hidden>
- Date: Mon, 26 Jun 2006 11:45:15 +0200
Am 26.06.2006 um 06:24 schrieb James Andrews:
On Jun 11, 2006, at 6:02 AM, Andrew Farmer wrote:
On 11 Jun 06, at 02:58, Giles Williams wrote:
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?
(You should really learn the C programming language thoroughly
before diving into Cocoa. It'll save you - and us - a lot of time
in the long run.)
That is such crap. I know a little C, and most of my programming
experience is in php/perl and I am doing just fine with Cocoa. You
don't need to know C thoroughly, what he does need is to understand
the basics of Obj-C.
PHP has reimplemented about 90% of C (including most of its
standard library), so knowing PHP, you're already more than halfway
to knowing C. So, while you may not think so, you probably have a
good understanding of C. The "thorough" part comes in when you're
tackling an advanced project or writing your own model classes or so,
in which case knowing the ins and outs of memory management and some
other more arcane aspects of C can come in quite handy.
You *do* need a thorough understanding of C.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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