• 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
dispatch queue as property
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dispatch queue as property


  • Subject: dispatch queue as property
  • From: Andreas Grosam <email@hidden>
  • Date: Wed, 02 Nov 2011 12:52:53 +0100

I want to set a dispatch queue via a property. How should I set the property's attributes when the queue is retained/released via functions dispatch_retain() and dispatch_release()?

Currently, since using "retain" is only possible for objects, I just declare it like follows:

@property (nonatomic) dispatch_queue_t dispatchQueue;


But here, the retain/release semantic isn't exposed. Any better ideas?



_______________________________________________

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: dispatch queue as property
      • From: Jamie Pinkham <email@hidden>
    • Re: dispatch queue as property
      • From: Bruno Berisso <email@hidden>
  • Prev by Date: Re: minor ARC casting question
  • Next by Date: Re: dispatch queue as property
  • Previous by thread: Re: minor ARC casting question
  • Next by thread: Re: dispatch queue as property
  • Index(es):
    • Date
    • Thread