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 01:42:14 +0100
On 23/dic/05, at 23:25, mmalcolm crawford wrote:
On Dec 23, 2005, at 1:46 PM, Camillo Lugaresi wrote:
I have a table view with two columns bound to an NSArrayController
which is in turn bound to an NSMutableArray. A button which
invokes the add: action is connected to the NSArrayController.
What additional configuration is there?
Is this on Panther, and have you implemented filtering?
It is on Tiger, and I have not implemented filtering.
The application I am working on was originally written using the
"manual" approach, but I am redoing part of the UI using bindings.
The old controller/delegate/data source etc. have already been
removed or disabled, so there should not be a conflict there, and
since I have only just started writing the bindings-based
implementation, it's not very complex at this stage.
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. :-/
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