Re: odd release
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.