• 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: Table column bindings to NSArrayController not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Table column bindings to NSArrayController not working


  • Subject: Re: Table column bindings to NSArrayController not working
  • From: Sam Stigler <email@hidden>
  • Date: Fri, 18 May 2007 12:24:48 +1000

Got it; thanks. I wasn't looking in the right section under "Troubleshooting Cocoa Bindings." Why I didn't just look at the whole thing... well, I have no idea.


On May 18, 2007, at 12:16 PM, mmalc crawford wrote:


On May 17, 2007, at 7:11 PM, Sam Stigler wrote:

I have my metadata array set up as an NSArray of NSMutableDictionaries. I know I'm updating the dictionaries in a KVC-compliant way, using -setValue: forKey:, but is there a specifically KVC-compliant way to add them to the array, or is that taken care of automatically?

<http://developer.apple.com/documentation/Cocoa/Conceptual/ CocoaBindings/Concepts/Troubleshooting.html#//apple_ref/doc/uid/ TP40002148-182809>
and
<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
("Programmatic modifications to arrays not noticed by table view")



I'm just re-reading them now; are you saying that I need to register the NSArrayController as an observer of the ivar NSArray?

No.

mmalc


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Table column bindings to NSArrayController not working (From: Keary Suska <email@hidden>)
 >Re: Table column bindings to NSArrayController not working (From: Sam Stigler <email@hidden>)
 >Re: Table column bindings to NSArrayController not working (From: mmalc crawford <email@hidden>)

  • Prev by Date: Re: Table column bindings to NSArrayController not working
  • Next by Date: Changing the sequence of editing cells in NSTableView/NSOutlineView
  • Previous by thread: Re: Table column bindings to NSArrayController not working
  • Next by thread: How do I make a singleton object AppleScriptable?
  • Index(es):
    • Date
    • Thread