On Jul 16, 2009, at 5:24 AM, Wilson Chen wrote:

Since a CGLayer is not a subclass of NSObject, its instances shouldn't
respond to retain/release messages. Yet the code works.

The toll-free bridging documentation isn't very clear on this, unless it's changed recently. At least for retain/release, any CFType can be treated as an NSObject.

http://www.cocoabuilder.com/archive/message/cocoa/2004/2/7/95680

http://www.cocoabuilder.com/archive/message/cocoa/2008/7/5/212058


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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