• 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
binding an array controller to columns in an NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

binding an array controller to columns in an NSTableView


  • Subject: binding an array controller to columns in an NSTableView
  • From: Chuck Soper <email@hidden>
  • Date: Mon, 10 Sep 2012 18:40:39 -0700
  • Thread-topic: binding an array controller to columns in an NSTableView

An have an "Color" entity in my data model (I'm just using the word
'color' for demonstrative purposes). Typically, I only expect to have 6 or
8 colors for each instance. I'd like to create an NSArrayController for
the Color entity, then bind it to columns in an NSTableView. I'll need to
add and remove columns in a table as colors are added or removed.

I understand how to bind an array controller (for an entity) to rows in a
table, and how to bind a Text Field in the Table Cell View to an entity
property. I'm not sure how to go about this for columns in a table. I
assume that I may need to take a programmatic approach. Has anyone done
this? Or, can someone point me in the right direction?

Thanks,
Chuck


_______________________________________________

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: binding an array controller to columns in an NSTableView
      • From: Quincey Morris <email@hidden>
    • Re: binding an array controller to columns in an NSTableView
      • From: Dave Fernandes <email@hidden>
  • Prev by Date: Re: Arghh bindings
  • Next by Date: Re: Arghh bindings
  • Previous by thread: Re: Arghh bindings
  • Next by thread: Re: binding an array controller to columns in an NSTableView
  • Index(es):
    • Date
    • Thread