Re: Crash in objc_msgSend_rtp when calling add action of NSArrayController
Re: Crash in objc_msgSend_rtp when calling add action of NSArrayController
- Subject: Re: Crash in objc_msgSend_rtp when calling add action of NSArrayController
- From: Camillo Lugaresi <email@hidden>
- Date: Sat, 24 Dec 2005 11:13:56 +0100
On 24/dic/05, at 04:47, mmalcolm crawford wrote:
On Dec 23, 2005, at 4:42 PM, Camillo Lugaresi wrote:
I had a second NSArrayController and NSTableView whose contents
were bound to the selection of the first controllet, but I broke
that binding and the crash still occurs. What's left is really
just an NSMutableArray, an NSArrayController, an NSTableView, and
a custom class for the items of the array, which works perfectly
as long as I don't call add on the NSArrayController. :-/
Have you subclassed NSArrayController to implement a newObject
method? If so, does it return an autoreleased object?
No subclasses, The only custom class is that of the items in the
array, and it works fine when adding items to the array directly,
even using the argument-less init that add calls.
Camillo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden