• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Where to declare/initialise an NSOperationQueue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Where to declare/initialise an NSOperationQueue
      • From: Michael Ash <email@hidden>
    • Re: Where to declare/initialise an NSOperationQueue
      • From: Peter Blazejewicz <email@hidden>
  • Prev by Date: Re: iTableView and subclassing NSTableView
  • Next by Date: Re: alloc/release confusion
  • Previous by thread: Re: Can anyone suggest a way to do this?
  • Next by thread: Re: Where to declare/initialise an NSOperationQueue
  • Index(es):
    • Date
    • Thread