• 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: programmatically binding to a NSTableColumn
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: programmatically binding to a NSTableColumn


  • Subject: Re: programmatically binding to a NSTableColumn
  • From: Scott Anguish <email@hidden>
  • Date: Mon, 21 Aug 2006 19:27:09 -0400

you don't need to add a new key to the array controller.. that is only used in IB.

just create the binding programmatically as you would any other binding.


On Aug 21, 2006, at 5:00 PM, joe OneNinetyTwo wrote:

I am adding a NSTableColumn to a tableview ...

NSTableColumn *aTableColumn = [[NSTableColumn alloc]

initWithIdentifier: @"newcolumn"];
[tableView addTableColumn:aTableColumn];

and would like to add a new key to the
NSArrayController that controls pre-existing
tablecolumns, and bind that new key to tableColumn I
just added.     I've searched the Cocoa Bindings
Programming Topics and Reference, and I can't seem to
find how I do this programmatically.

_______________________________________________
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: 
 >programmatically binding to a NSTableColumn (From: joe OneNinetyTwo <email@hidden>)

  • Prev by Date: Re: Newbie: Alignment and resizing of window
  • Next by Date: Re: programmatically binding to a NSTableColumn
  • Previous by thread: programmatically binding to a NSTableColumn
  • Next by thread: Re: programmatically binding to a NSTableColumn
  • Index(es):
    • Date
    • Thread