nsoperation

Why is my NSOperationQueue not behaving correctly in iOS 4.0?

I have used NSOperationQueue in my iPhone app before in iPhone OS 3.0, but now in iOS 4.0 the code is not working properly. It runs properly only once and on all subsequent calls, it doesnt work. Have there been changes in NSOperationQueue in iOS 4.0? The relevant code is as follows: - (void) starteffectFunction { NSOpera...

What to do in a separate thread?

So I've read some stuff about multithreading and NSOperation and wondering how I can use that to improve my app. Using Instruments I have isolated a few places where my app could definitely use a speed improvement. My question is, are these kinds of things suitable for another thread using NSOperation? Drawing a view: I have a rather co...