Where to declare/initialise an NSOperationQueue
Where to declare/initialise an NSOperationQueue
- Subject: Where to declare/initialise an NSOperationQueue
- From: Jacob Rhoden <email@hidden>
- Date: Sat, 14 Feb 2009 17:49:49 +1100
Hi Guys,
I have been starting to use NSOperationQueue. I have ended up with one
put in each controller (ie see below), but now I have one in too many
controllers. How does it work? Should I just have one global variable
for the operation queue, or do multiple NSOperationQueue's "share" the
same resources?
I guess I am looking for direction on how best to use it.
@interface WebsitesController : NSObject {
NSOperationQueue *operationQueue;
}
Thanks,
Jacob
____________________________________________
Jacob Rhoden http://jacobrhoden.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden