• 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: Icons in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Icons in NSOutlineView


  • Subject: Re: Icons in NSOutlineView
  • From: Brian Hill <email@hidden>
  • Date: Thu, 31 May 2001 15:31:49 -0500

On Thursday, May 31, 2001, at 09:59 AM, Eric Peyton wrote:

Code like this should work for you ...

[column setDataCell:[[NSBrowserCell alloc] init]];

You're leaking memory here...
(I know that you know that, but thought I'd point it out for those that don't...)

This would be better:

id cell = [[NSBrowserCell alloc] init];
[column setDataCell:cell];
[cell release];



Brian


email@hidden http://personalpages.tds.net/~brian_hill
___________________________________________________________
"Why? I came into this game for adventure - go anywhere, travel
light, get in, get out, wherever there's trouble, a man alone.
Now they've got the whole country sectioned off and you can't
move without a form. I'm the last of a breed."
-- Archibald "Harry" Tuttle, Rogue HVAC Repairman
___________________________________________________________


References: 
 >Re: Icons in NSOutlineView (From: Eric Peyton <email@hidden>)

  • Prev by Date: verify pasword
  • Next by Date: identifying applications
  • Previous by thread: RE: Icons in NSOutlineView
  • Next by thread: Re: Icons in NSOutlineView
  • Index(es):
    • Date
    • Thread