• 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: NSTableView and multiple NSArrayControllers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView and multiple NSArrayControllers


  • Subject: Re: NSTableView and multiple NSArrayControllers
  • From: Robert Goldsmith <email@hidden>
  • Date: Mon, 26 Apr 2004 16:36:48 +0100

> I will abuse yours (and everyone else's) help for one more question:
> when using KVC to expose a variable that we want to be read-only, is
> it sufficient to simply not provide the setter method? Will the
> runtime infer from the absence of a setter method that the variable is
> immutable?

I doubt it because if the bindings can't find the setter by the bound
name, the docs say it then looks for a variable of that name. If you
have a getter of a different name to the variable it gets, maybe it
will work. The best is to untick the 'allows editing' tickbox for the
bound item in IB. There is likely a programatic interface for the same
action.

Just my thoughts :)

Robert

---
GnuPG public key:
http://www.Far-Blue.co.uk

[demime 0.98b removed an attachment of type application/pgp-signature which had a name of PGP.sig]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >NSTableView and multiple NSArrayControllers (From: Gabriele de Simone <email@hidden>)
 >Re: NSTableView and multiple NSArrayControllers (From: Scott Anguish <email@hidden>)
 >Re: NSTableView and multiple NSArrayControllers (From: Gabriele de Simone <email@hidden>)

  • Prev by Date: Re: KeyValue Observing rant
  • Next by Date: RE: Unarchive consistency errors
  • Previous by thread: Re: NSTableView and multiple NSArrayControllers
  • Next by thread: Re: NSTableView and multiple NSArrayControllers
  • Index(es):
    • Date
    • Thread