
11-15-2008, 11:15 PM
|
|
What's Jailbreak?
|
|
Join Date: Nov 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
iPhone development problem
|
Hello,
I am new to iPhone development.I am getting a problem. I have an NSThread that looks for event. Lets call this one EventListenerThread
for further reference. When a particular event occurs, I need to update the view.
If I create a new NSThread and dispatch the update event to this new NSThread it works just fine. But if I do not create this NSThread,
and try to update the view using "EventListenerThread" NSThread, anyhow it does not work.
But I want to do this within "EventListenerThread". Is there any way to do this? Or a better approach to achieve this?
Thanks in advance.
|
|