Re: C/Obj-C API Confusion
Re: C/Obj-C API Confusion
- Subject: Re: C/Obj-C API Confusion
- From: Charles Steinman <email@hidden>
- Date: Wed, 10 Sep 2008 15:05:38 -0700 (PDT)
--- On Wed, 9/10/08, J. Todd Slack <email@hidden> wrote:
> So if I have an objective C class, how can I call a .c
> class? and pass
> my arguments from the objective-c class?
C doesn't have classes. That's almost the entire difference between it and Objective-C. Have you called NSLog? NSMakeRect? Then you've called a function, just like in C. If you're fuzzy on C, there are scads of tutorials on it around the Web. Cocoa Dev Central has one especially for using C with Cocoa:
http://cocoadevcentral.com/articles/000081.php
Cheers,
Chuck
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden