• 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
Custom binding to NSArrayController fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom binding to NSArrayController fails


  • Subject: Custom binding to NSArrayController fails
  • From: Ben Lachman <email@hidden>
  • Date: Tue, 14 Mar 2006 16:01:13 -0500

I am trying to get a bit more into bindings. I have a proof of concept app I've been working on that I am integrating some custom bindings into. In the app there is a table that is filled in via bindings with the name variable from objects in an array in my app controller. This works great and is really simple. Next I wanted to set a 'selectedItem' variable in my app controller using bindings as well. I implemented the custom bindings just like in the sample BindingsJoystick. However, when I try to bind my controller 'selected' key to the NSArrayContoller's 'selection' I get this exception when calling [super bind:toObject:withKeyPath:options] at the end of my custom bind method:

2006-03-14 15:38:45.215 CustomView[2656] Cocoa Bindings: Error setting value for bound property selected of object <NSKVONotifying_RVController: 0x34a4a0>: *** - [_NSControllerObjectProxy name]: selector not recognized [self = 0x35a3e0]

Any ideas what I might be doing wrong?

Thanks,

->Ben
_______________________________________________
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: Custom binding to NSArrayController fails
      • From: Justin Anderson <email@hidden>
  • Prev by Date: Re: dynamic glyph/character advancement
  • Next by Date: How to find the insertion point of NSTextView
  • Previous by thread: Re: Full Keyboard Access for controls within a table
  • Next by thread: Re: Custom binding to NSArrayController fails
  • Index(es):
    • Date
    • Thread