• 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: odd release
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: odd release


  • Subject: Re: odd release
  • From: email@hidden
  • Date: Sat, 18 May 2002 01:36:00 -0700

ok, so i realize now that it's releasing a copy... but why is it making a copy in the first place?

and what is the interaction between this copy and calls to titleRectForBounds, imageRectForBounds, drawingRectForBounds and drawInteriorWithFrame?

i added a simple copyWithZone that returned [self retain] and now when you mouse down in the table view, it draws off by one row in seemly random conditions...

this should be a faq...

On Saturday, May 18, 2002, at 01:00 AM, email@hidden wrote:

has anyone seen a stack like this? i made a few minor changes to my custom cell and this started happening...

-[MyCell dealloc]
-[NSCell release]
-[NSTableView mouseDown:]
-[NSOutlineView mouseDown:]
-[NSWindow sendEvent:]
-[NSApplication sendEvent:]
-[NSApplication run]
NSApplicationMain
main

why would tableview's mouseDown release the cell?
_______________________________________________
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.

References: 
 >odd release (From: email@hidden)

  • Prev by Date: didEndShouldCloseSheet
  • Next by Date: Kakao gruppe (Danish Cocoa group)
  • Previous by thread: odd release
  • Next by thread: didEndShouldCloseSheet
  • Index(es):
    • Date
    • Thread