Hello everyone!
I have no previous MAC Programming experience (nor much C++ experience) but I have to pull something off in a short time, can anyone explain to me what the following does?
EventLoopTimerRef idleEventLoopTimer;
InstallEventLoopTimer (GetCurrentEventLoop (), kEventDurationSecond / 25., kEventDurationSecond / 25., idleTimerProc, effect, &idleEventLoopTimer);
RunAppModalLoopForWindow (window);
RemoveEventLoopTimer (idleEventLoopTimer);
And any tutorial pointing to CFnetworking is cool, I want to implement a server socket inside this loop...
Apple's CFNetwork tutorials is very hard to understand at the moment because it has no sample code.
Thanks!
Chowjyc
I have no previous MAC Programming experience (nor much C++ experience) but I have to pull something off in a short time, can anyone explain to me what the following does?
EventLoopTimerRef idleEventLoopTimer;
InstallEventLoopTimer (GetCurrentEventLoop (), kEventDurationSecond / 25., kEventDurationSecond / 25., idleTimerProc, effect, &idleEventLoopTimer);
RunAppModalLoopForWindow (window);
RemoveEventLoopTimer (idleEventLoopTimer);
And any tutorial pointing to CFnetworking is cool, I want to implement a server socket inside this loop...
Apple's CFNetwork tutorials is very hard to understand at the moment because it has no sample code.
Thanks!
Chowjyc