• 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: [SOLVED] Re: dynamically adding NSTableColumns while using bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SOLVED] Re: dynamically adding NSTableColumns while using bindings


  • Subject: Re: [SOLVED] Re: dynamically adding NSTableColumns while using bindings
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 1 Aug 2007 21:22:56 -0400

On Aug 1, 2007, at 8:57 PM, Paul Gribble wrote:
Nowhere else, in code, or in the nib, do I need to declare that I'm going to
be using "newcol" as the key path. It just knows. Now I will eventually have
to give each column a unique key path, like col2, col3, etc. but that's for
another day.

This is probably because the default class an array controller uses is NSMutableDictionary, which can store anything for any string key. If you were using a custom class "Person" that has properties "name" and "age", it would complain if you'd try to bind to "sex".


--
I.S.



_______________________________________________

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: 
 >dynamically adding NSTableColumns while using bindings (From: "Paul Gribble" <email@hidden>)
 >Re: dynamically adding NSTableColumns while using bindings (From: "Sean McBride" <email@hidden>)
 >Re: dynamically adding NSTableColumns while using bindings (From: "Paul Gribble" <email@hidden>)
 >Re: dynamically adding NSTableColumns while using bindings (From: "I. Savant" <email@hidden>)
 >[SOLVED] Re: dynamically adding NSTableColumns while using bindings (From: "Paul Gribble" <email@hidden>)

  • Prev by Date: [SOLVED] Re: dynamically adding NSTableColumns while using bindings
  • Next by Date: Re: [SOLVED] Re: dynamically adding NSTableColumns while using bindings
  • Previous by thread: [SOLVED] Re: dynamically adding NSTableColumns while using bindings
  • Next by thread: Re: [SOLVED] Re: dynamically adding NSTableColumns while using bindings
  • Index(es):
    • Date
    • Thread