• 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: Binding to table with variable number of columns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding to table with variable number of columns


  • Subject: Re: Binding to table with variable number of columns
  • From: Kyle Sluder <email@hidden>
  • Date: Sun, 8 Mar 2009 01:29:05 -0500

On Sun, Mar 8, 2009 at 1:18 AM, Ashley Perrien <email@hidden> wrote:
> How would I go about setting up bindings to a table in this kind of a
> situation if I can't predict in IB how many columns it will have? The main
> reason I have for trying to switch to bindings is to (hopefully) simplify
> sorting.

You can bind programatically.  When you're creating your columns, bind
them using -bind:toObject:withKeyPath:options:.

--Kyle Sluder
_______________________________________________

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

References: 
 >Binding to table with variable number of columns (From: Ashley Perrien <email@hidden>)

  • Prev by Date: Binding to table with variable number of columns
  • Next by Date: Re: Need to use Quartz... I think?
  • Previous by thread: Binding to table with variable number of columns
  • Next by thread: problem observing selectionIndex of an array controller
  • Index(es):
    • Date
    • Thread