Re: Guidelines for Cocoa frameworks supporting garbage collection?
Re: Guidelines for Cocoa frameworks supporting garbage collection?
- Subject: Re: Guidelines for Cocoa frameworks supporting garbage collection?
- From: mmalc crawford <email@hidden>
- Date: Sat, 05 Jul 2008 23:04:53 -0700
On Jul 5, 2008, at 10:07 PM, Chris Hanson wrote:
Can you give an example of a framework method that's documented to
return an autoreleased CF object?
NSBitmapImageRep:
- (CGImageRef)CGImage
Returns an autoreleased CGImage object (an opaque type) from the
receiver’s current bitmap data.
<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSBitmapImageRep_Class/Reference/Reference.html#//apple_ref/occ/instm/NSBitmapImageRep/CGImage
>
mmalc
_______________________________________________
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