>> The ARC specification defines a "retainable pointer" as including those 
>> pointers that have the __attribute__((NSObject)) decoration, so this should 
>> behave as expected under ARC. 
>> <http://clang.llvm.org/docs/AutomaticReferenceCounting.html#objects>
> 
> I am curious, though, in that CGImageRef is not toll-free bridged to a 
> Foundation class. I had the impression that the API contract was that only 
> bridged CF classes were guaranteed to implement reference-counting methods.

If a CF type isn't explicitly bridged to a particular class, it defaults to 
NSObject.  So you get all the basic object management if nothing else.
_______________________________________________

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

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

Reply via email to