Re: reg:audioplayer
Re: reg:audioplayer
- Subject: Re: reg:audioplayer
- From: Kyle Sluder <email@hidden>
- Date: Mon, 14 Jun 2010 13:31:34 -0700
On Mon, Jun 14, 2010 at 1:05 PM, Paul Sanders
<email@hidden> wrote:
>> Also like in C++ we have a main thread which is invoked by main
>> function,In objective C who invokes the main thread.
>
> Life still starts in main (). It's just the same.
Well, sort of. In Cocoa, you typically let the main thread's run loop
pull events off the queue and call back to you. Many other frameworks
invert the authority here, where you call into the framework from a
main loop. While you can implement this pattern using the run loop
methods, it's better not to fight the framework.
And of course this only matters when you're writing the main()
function. If you're a plugin or framework, it's not your call.
--Kyle Sluder
_______________________________________________
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