I have a class with an NSDictionary attribute. Inside this class I dispatch another thread to handle NSXMLParser handling. Inside my -didStartElement, I access the dictionary in the class (to compare
I\'m writing code to check if there is a network connection present.In a nutshell, the order of events that I want to occur goes like this:
I\'m using the scripting bridge to query iTunes from my cocoa application. Sometimes iTunes pops up a window (like if an ipod needs updating etc.) and while that popup window is open I can\'t get any
I\'m using NSURLConnection for downloading some images in my app currently. Before implementing via this, I implemented it by NSData(dataWithContentOfURL) in NSThread.
I have got a memory bug that seems to boil down to something happening in a thread. I am having difficulties troubleshooting this.
I am trying to run a NSTimer on a thread using iPhone SDK 3.0. I think I am doing everything correctly (new runlo开发者_开发问答op etc.). If I call [timer invalidate] on viewDidDissappear though I get
My app freezes whenever I parse an 开发者_运维技巧XML feed. I have tried calling this instead: [NSThread detachNewThreadSelector:@selector(parseXML) toTarget:self withObject:nil];
I am using a timer within a thread , i am instantiating the timer all the time however when i run the application within instrument i see the memory grows exponentially, i am not having any leaks. I a
I start a background thread 开发者_StackOverflow社区from my program while my main thread is checking something. If the checking goes false, I want to stop the running background thread and start it al
In Cocoa, is NSThread faster than pthread? is are any performance gain? is it negli开发者_如何学Pythongible to ignore?I have no data to back this up, but I\'m going to go out on a limb and say \"they\