• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSBitmapImageRep problem (I think)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBitmapImageRep problem (I think)


  • Subject: Re: NSBitmapImageRep problem (I think)
  • From: Lance Bland <email@hidden>
  • Date: Fri, 19 Apr 2002 07:49:11 -0400

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
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSBitmapImageRep problem (I think)
      • From: Brian Williams <email@hidden>
References: 
 >NSBitmapImageRep problem (I think) (From: Brian Williams <email@hidden>)

  • Prev by Date: Re: A suggestion for alias and symbolic links, and a request
  • Next by Date: Re: Simple Exception Handling
  • Previous by thread: NSBitmapImageRep problem (I think)
  • Next by thread: Re: NSBitmapImageRep problem (I think)
  • Index(es):
    • Date
    • Thread