Re: Sending message to Objective-C object from C file
Re: Sending message to Objective-C object from C file
- Subject: Re: Sending message to Objective-C object from C file
- From: ∞ <email@hidden>
- Date: Sat, 28 Jul 2007 12:13:04 +0200
Il giorno 28/lug/07, alle ore 11:59, seyed mehdi nazemi ha scritto:
So I have created a Controller Objective-C object that includes
QTMovieViewer and can use that to play an audio file. Now my
question is how to send message to that Objective-C object from a C
file in my old library.
You could change the extension to .m, #import the relevant headers
and use Objective-C syntax. You should not incur into problems with
this since Objective-C syntax is a strict superset of C's and it
compiles to the same ABI for the non-Objective-C parts, so it won't
break or mangle your existing code.
- ∞_______________________________________________
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