How to use NSTaskDidTerminateNotification on iPhone?
How to use NSTaskDidTerminateNotification on iPhone?
- Subject: How to use NSTaskDidTerminateNotification on iPhone?
- From: Xu Ting <email@hidden>
- Date: Tue, 17 Mar 2009 18:01:44 +0900
Hi, list,
I am using NSOperation and NSOperationQueue object to create and
manage a lightweight thread and using a NSTaskDidTerminateNotification
as it was introduced in the iPhone threading programming guide.
Now the problem is, When I set to build on Device 2.2, it told me,
NSTaskDidTerminateNotification was not declared!!
NSTask.h is also not available for iPhone. So, What's the problem?
Does Apple make a mistake?
The documentation is located here:
iPhone Dev Center > iPhone Reference Library > Topics > Performance >
Threading Programming Guide >Creating and Managing Operation Objects
and inside which, <Listing 2-2 Using an operation object to launch a
process> snippet DOES use NSTaskDidTerminateNotification.
How can I resolve this problem?
BTW: When I compile and run it in the simulator, it worked fine!
Thanks in advance.
Tonny
--
Life is like a box of chocolates, u never know what u'r gonna get.
_______________________________________________
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