Re: Why do CFType instances respond to NSObject messages?
Re: Why do CFType instances respond to NSObject messages?
- Subject: Re: Why do CFType instances respond to NSObject messages?
- From: "Adam R. Maxwell" <email@hidden>
- Date: Thu, 16 Jul 2009 22:23:06 -0700
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 (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