Re: NSTableView and multiple NSArrayControllers
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.