Re: how is C often used in Cocoa, if at all?
Re: how is C often used in Cocoa, if at all?
- Subject: Re: how is C often used in Cocoa, if at all?
- From: June Van Dyke <email@hidden>
- Date: Tue, 11 Feb 2003 16:57:26 -0500
On 2/11/03 3:13 PM, "Ben Dougall" <email@hidden> wrote:
>
Hiyer,
>
>
I'm currently learning C before I get stuck into Objective-C and Cocoa,
>
and am just skimming this list in preperation - to see what's going on.
>
>
And I'm wondering if C is used much in writing Cocoa applications? It
>
doesn't seem to be, from what I've read on here, or have I got the
>
wrong impression there?
I think you've got a slightly wrong impression. :p I personally use Obj-C
most of the time, but *must* have a working knowledge of C to get things
done. For example, although the following is usually referred to as Obj-C,
it uses standard C calls (and you need to know C to understand it):
int i;
for (i = 0; i < 10; i++)
{
[object doSomethingWith:i];
printf("Did something to i on loop %i", i);
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.