1

Possible Duplicate:
Does ARC support dispatch queues?

When declaring a GCD property like so:

@property (assign, atomic) dispatch_queue_t myQueue;

Do the accessors get synthesised with appropriate calls to dispatch_retain and dispatch_release, or do I still need to write my own manual retains/releases?

Community
  • 1
  • 1
lmirosevic
  • 15,787
  • 13
  • 70
  • 116
  • 2
    If your deployment target is at least iOS 6, then ARC manages this automatically, see e.g. this excellent answer: http://stackoverflow.com/a/8619055/1187415. But of course you must declare the propery as "strong" to get release/retain calls generated. – Martin R Nov 14 '12 at 14:01

0 Answers0