Re: NSBitmapImageRep problem (I think)
Re: NSBitmapImageRep problem (I think)
- Subject: Re: NSBitmapImageRep problem (I think)
- From: Brian Williams <email@hidden>
- Date: Fri, 19 Apr 2002 05:14:29 -0700 (PDT)
Lance,
Thanks for the help. I have added a [super dealloc] and have tried to reload
the pointer to the image data but no luck.
Is it required that a NSBitmapImageRep be added to an NSImage instance?
Thanks again
Brian
--- Lance Bland <email@hidden> wrote:
>
>
On Friday, April 19, 2002, at 07:08 AM, Brian Williams wrote:
>
>
> - (void)dealloc
>
> {
>
> NSLog(@"dealloc");
>
> [board release];
>
> }
>
>
The only error I found in your code was that you did not include a
>
[super dealloc] in the code above. If that doesn't fix it then it must
>
be somewhere else.
>
>
For example: I don't see where the bitmap rep is added as a rep to a
>
NSImage instance. The NSImage may not retain your bitmap. It may be
>
risky to cache boardData because that pointer may change.
>
>
-lance
>
>
------------------------------------
>
Lance Bland
>
mailto:email@hidden
>
web charts at http://www.vvi.com/products/chart
>
=====
Brian Williams
homepage == <
http://chromaticgray.com>
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.