Re: NSArrayController and bindings
Re: NSArrayController and bindings
- Subject: Re: NSArrayController and bindings
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 25 Feb 2004 11:52:02 -0800
On Feb 25, 2004, at 11:06 AM, Peter Wollschlaeger wrote:
When I started using binding, I was confused why Apple used a
document-based application for such a simple example like the currency
converter. So I put it into a cocoa app just to be sure. Now I would
suggest, that Apple change the examples to avoid confusing other
"binding-beginners" too.
There's a trade-off between introducing the concepts using a simple
application that uses as little code as possible versus a more
full-featured application that's daunting. It's likely that any
introductory example will, for the moment(*), use a document-based
application simply because it avoids having to write a few extra
distracting lines of code. In any example it's probably more important
to concentrate on the features rather than the problem domain, which is
typically fairly artificial. It's also possible, though, that Currency
Conversion may not be the best problem domain for an example, and that
may change -- if you have any suggestions for something more convincing
that might be addressed in a very simple introductory application, I'm
sure they'd be welcomed.
Note also that the examples I've been putting together over the last
couple of months will be turned into DTS samples over the next few
weeks -- I hope this will improve the "official" situation. A couple
of these I deliberately provided as non-document based...
mmalc
(*) *If* in time IB changes such that bindings may be made to
"top-level" objects other than just File's Owner, this might change.
_______________________________________________
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.