Re: iOS - Question on AUGraph in objective C / CPP
Re: iOS - Question on AUGraph in objective C / CPP
- Subject: Re: iOS - Question on AUGraph in objective C / CPP
- From: Paul Davis <email@hidden>
- Date: Mon, 29 Oct 2012 21:56:16 -0400
On Mon, Oct 29, 2012 at 9:47 PM, Pier
<email@hidden> wrote:
Thanks Chris and Jack for the informative posts. Just realised Chris is the author of the book I'm holding for help, wow! A few more follow-up questions regarding this :
1) Message dispatch - when Jack, I think .. says that message dispatch is expensive, what does he mean? Which part of Objective C is considered "message dispatch"?
[ yourObject someObjectMethod ]
that's method dispatch. in smalltalk land, it was traditional to talk about this as "sending a message" to the object, which makes more sense if you think of example like:
[ mySoftwareSynthesisObject makeSomeNoise ]
2) In the case that we need both C and Objective C in the same code, is there any source code that is a good example of this? (say we use C for audio stuff, and Objective C for the iOS UI functions)
you never need C specifically. you do need a realtime safe language, which could include C, C++, assembler, and a number of others. using that same language for the GUI is more or less impossible because apple have made their UI API ("Cocoa") only available from objective C, give or take a few hacks and kludges.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden