• 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
How to bind to a custom controller class?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to bind to a custom controller class?


  • Subject: How to bind to a custom controller class?
  • From: Koen van der Drift <email@hidden>
  • Date: Sun, 06 Nov 2011 05:14:28 -0500

How do I bind a controller class to my core data model? The controller
class (a subclass of NSObject) needs to access the value that is at
arrangedObjects.name in an NSArrayController. The NSArrayController
feeds an NSTableView, and that works fine through bindings, but I
don't know how to tap into the model for my custom controller class.
So, whatever is selected in NSTableView should go to my custom
controller class for further processing, and the displaying the
results.

I looked in InterfaceBuilder, but there are no options to bind my
controller class.

Thanks,

- Koen.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

  • Follow-Ups:
    • Re: How to bind to a custom controller class?
      • From: Koen van der Drift <email@hidden>
  • Prev by Date: Any success with SMLoginItemSetEnabled?
  • Next by Date: Re: How to highlight the current line in NSTextView?
  • Previous by thread: Re: Any success with SMLoginItemSetEnabled?
  • Next by thread: Re: How to bind to a custom controller class?
  • Index(es):
    • Date
    • Thread