• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crash in objc_msgSend_rtp when calling add action of NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Crash in objc_msgSend_rtp when calling add action of NSArrayController
      • From: mmalcolm crawford <email@hidden>
References: 
 >Crash in objc_msgSend_rtp when calling add action of NSArrayController (From: Camillo Lugaresi <email@hidden>)
 >Re: Crash in objc_msgSend_rtp when calling add action of NSArrayController (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Keyboard focus indicator line style
  • Next by Date: Re: KVO one-step listening but two-step notifying?
  • Previous by thread: Re: Crash in objc_msgSend_rtp when calling add action of NSArrayController
  • Next by thread: Re: Crash in objc_msgSend_rtp when calling add action of NSArrayController
  • Index(es):
    • Date
    • Thread