• 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: Bindings and 2 NSTableViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings and 2 NSTableViews


  • Subject: Re: Bindings and 2 NSTableViews
  • From: mmalcolm crawford <email@hidden>
  • Date: Sun, 9 Jan 2005 17:37:53 -0800


On Jan 9, 2005, at 3:47 PM, email@hidden wrote:

Thats what i though also, but when i do that, i get this error:
[<BSCollection 0x3798f0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key objects.


Sorry, there was a mistake in my first reply.

You bind the contentArray of the second array controller to:
     [Categories Controller].selection.collection

should have been (as Joakim stated in his post):

You bind the contentArray of the second array controller to:
     [Categories Controller].selection.collection.objects


So I'm not sure exactly, now, what you've bound to what, but from the error message it looks like you probably have the bindings set up correctly, at least according to your class description.


BSCollection
    ->NSMutableArray* objects

What accessor methods do you have defined for BSCollection? Does BSCollection actually have an instance variable called 'objects'?

mmalc








_______________________________________________ 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: 
 >Bindings and 2 NSTableViews (From: email@hidden)
 >Re: Bindings and 2 NSTableViews (From: mmalcolm crawford <email@hidden>)
 >Re: Bindings and 2 NSTableViews (From: email@hidden)

  • Prev by Date: NSAttributedString (How to use with NSTextField?)
  • Next by Date: Re: NSAttributedString (How to use with NSTextField?)
  • Previous by thread: Re: Bindings and 2 NSTableViews
  • Next by thread: Tooltip-like view when dragging
  • Index(es):
    • Date
    • Thread