Should images returned from NSTableView's
dragImageForRowsWithIndexes be autoreleased?
Michael Dupuis
smokinmonkey at yahoo.com
Mon Sep 24 11:20:56 PDT 2007
Greetings,
I have a table subclass that implements
dragImageForRowsWithIndexes:::: and have random
reports of a crash while in the drag loop code (not my
own) that makes me wonder about the images that are
created in the implementation: should images alloc'd
in this call be "leaked" i.e. not released, not
autoreleased, or should they be autoreleased? Right
now I autorelease them, and I can't really find
anything in the documentation or the list that
specifies the actual image retention explicitly.
Thanks,
Michael
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
More information about the MacOSX-dev
mailing list