Re: OutlineView crashing on collapse (need help badly)
Re: OutlineView crashing on collapse (need help badly)
- Subject: Re: OutlineView crashing on collapse (need help badly)
- From: "Jean-Olivier Lanctôt-D." <email@hidden>
- Date: Sun, 4 Apr 2004 20:40:34 -0400
Many thanks, Mr Cada, this fixed it.
At first I did not realise I did indeed use an autoreleased array as my
datasource...
This should be written in the docs!!!! as a warning..
anyone reading the archives about this problem:
DO NOT FEED THE TABLEVIEW WITH AUTORELEASED ITEMS.
Thanks list!!!
On Apr 4, 2004, at 2:54 PM, Ondra Cada wrote:
Jean-Olivier,
On Sunday, Apr 4, 2004, at 20:11 Europe/Prague, Jean-Olivier
Lancttt-D. wrote:
Since the beginning, I've been bothered by a very weird bug. I select
items in the outlineview, and collapse a group, and the app crashes.
Don't you perchance use autoreleased item ids? My experience is that
you *must* ensure that the "item" objects are *never* released (until
the appropriate rows are removed from the outlineview, of course).
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.
--Jean-Olivier Lancttt-D.
http://www.clichesw.com
_______________________________________________
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.