Re: bitmap caching issue (was: settings to build for 10.5 on 10.6?)
Re: bitmap caching issue (was: settings to build for 10.5 on 10.6?)
- Subject: Re: bitmap caching issue (was: settings to build for 10.5 on 10.6?)
- From: Matt Neuburg <email@hidden>
- Date: Sun, 20 Sep 2009 13:37:09 -0700
- Thread-topic: bitmap caching issue (was: settings to build for 10.5 on 10.6?)
On or about 9/20/09 1:16 PM, thus spake "Ken Ferry" <email@hidden>:
> There was an ownership problem. The NSBitmapImageRep owned a raw buffer of
> data and the CGImage. The CGImage didn't retain the NSBitmapImageRep since
> that would cause a retain cycle.
So all I had to do was retain the NSBitmapImageRep! I never thought of
that!!! Argh! [Falls on own sword in despair, is carried off the stage.] m.
_______________________________________________
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