• 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: Inspector of NSArrayController doesn't update NSTable immediately
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inspector of NSArrayController doesn't update NSTable immediately


  • Subject: Re: Inspector of NSArrayController doesn't update NSTable immediately
  • From: Jonathan Wight <email@hidden>
  • Date: Sat, 25 Oct 2003 20:41:15 -0500

> On Oct 25, 2003, at 5:12 PM, Jonathan Wight wrote:
>
>> I have an NSTable populated by a NSArrayController (that feeds off a
>> NSMutableArray in my document object using the NSKeyValueCoding
>> methods). I
>> also have a inspector panel that 'inspects' the selection of the table
>> (just
>> like the examples in the WWDC sessions).
>> I can edit the values in the table and the inspector is immediately
>> updated
>> with the changes.
>> However when I edit the values in the inspector the values in the
>> table are
>> not updated until I click on the row in question.
>> What did I break?
>>
> What are your bindings...?
>
> mmalc

I'm binding the values of the UI elements in the inspector to the
NSArrayController.selection.{column name}

I'm binding the values of the table columns to
NSArrayController.arrangedObjects.{column name}

The contentArray of NSArrayController is bound to the nib's owner's
'waypoints' (an accessor method) attribute.

Jon.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Inspector of NSArrayController doesn't update NSTable immediately
      • From: mmalcolm crawford <email@hidden>
References: 
 >Re: Inspector of NSArrayController doesn't update NSTable immediately (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Inspector of NSArrayController doesn't update NSTable immediately
  • Next by Date: Re: Add and delete buttons for tables?
  • Previous by thread: Re: Inspector of NSArrayController doesn't update NSTable immediately
  • Next by thread: Re: Inspector of NSArrayController doesn't update NSTable immediately
  • Index(es):
    • Date
    • Thread