Re: Bindings Book !!!!!
Re: Bindings Book !!!!!
- Subject: Re: Bindings Book !!!!!
- From: mmalcolm crawford <email@hidden>
- Date: Thu, 13 Jan 2005 11:13:14 -0800
On Jan 13, 2005, at 4:29 AM, Vince Ackerman wrote:
there's nothing like have something broken down into it's simplest
forms, through example code like yours, to get an idea of how stuff
works and the concepts behind it.
I certainly appreciate that, and that's what the two articles I
referred to earlier are supposed to do. If things are not clear from
those, please let me know how they might be improved.
For example, when binding to an array controller, the model key path
menu under values has a large number of choices. How do you know which
to use? What does each do ? There isn't much info on the differences
between arrangedObjects, selection, selectionIndexes, SelectionIndex,
etc. How do you use all the other binding menu choices for font's,
etc? Patterns?
All the binding options etc. are documented here (kudos to Scott A.):
<http://developer.apple.com/documentation/Cocoa/Reference/
CocoaBindingsRef/index.html>
arrangedObjects etc. are documented in the class API reference, for
example:
<http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Classes/NSArrayController.html>
-- remember that sometimes you will have to look at the superclass'
documentation.
You could spend chapters on how all this stuff gets hooked up, Key
value Observer principles, manual bindings, over-riding bindings, the
list is long
KVO is described here:
<http://developer.apple.com/documentation/Cocoa/Conceptual/
KeyValueObserving/index.html>
Manual binding is described in the second of the two articles I
originally mentioned. Overriding bindings doesn't get much treatment,
and warrants more -- please file an enhancement request.
Stepping back from this, lest it appear that I'm just throwing this
back in your face (which is *not* my intent), it seems to me that much
of what you're asking for is covered. What I would like to understand
is in what ways it fails to deliver on what it promises -- why are you
not finding it solving your problems. That way we might have a better
chance of improving the situation.
mmalc
_______________________________________________
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