• 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 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
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>)
 >Re: 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: HIG-compliant image highlight
  • 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 (SOLVED)
  • Index(es):
    • Date
    • Thread