I'm using ARC on Xcode (unmentionable) on OS X redacted using latest features. 
I do believe however that we are allowed to discuss ARC related issues as they 
are already published on the clang.llvm.org website.

Anyway I'd like to have the CGImageRef object treated the same as any cocoa 
object that is a property using the strong qualifier.

I've seen the following discussed on stack overflow.

@property (strong) __attribute__((NSObject)) CGImageRef snapShot;

The discussion on stack overflow seems to suggest that using this attribute is 
not recommended and there is contradictory information. That you should use a 
typedef, or that you shouldn't.

http://stackoverflow.com/questions/9684972/strong-property-with-attribute-nsobject-for-a-cf-type-doesnt-retain

I'm not worried about the bug related to nonatomic that they are discussing, 
just the discussion about the use of the attribute.

What is the recommended way of achieving what I'd like?

Kevin
 
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to