• 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
NSTableView bound to array of NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView bound to array of NSString


  • Subject: NSTableView bound to array of NSString
  • From: Tom Birch <email@hidden>
  • Date: Tue, 10 May 2005 18:51:55 +1000

I'm trying to bind an NSTableView with one column to an array controller whose content array is an array of NSString instances. If I don't set the model key for the single column, it displays the content fine, inserts blank items fine, but breaks when trying to edit values:

2005-05-10 17:56:56.965 MyApp[5506] Error setting value for key path of object (from bound object <NSTableColumn: 0x34d8f0>): [<NSCFString 0x3d48a0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key.

There must be some simple way to do this without writing my own accessor methods, mustn't there?

Tom
_______________________________________________
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: NSTableView bound to array of NSString
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Read-only NSTableView bindings - forcing update
  • Next by Date: Spotlight categories
  • Previous by thread: Re: Read-only NSTableView bindings - forcing update
  • Next by thread: Re: NSTableView bound to array of NSString
  • Index(es):
    • Date
    • Thread