Re: NSArrayController and bindings
Re: NSArrayController and bindings
- Subject: Re: NSArrayController and bindings
- From: Peter Wollschlaeger <email@hidden>
- Date: Wed, 25 Feb 2004 20:06:35 +0100
Am 24.02.2004 um 23:37 schrieb mmalcolm crawford:
On Feb 24, 2004, at 1:43 PM, Peter Wollschlaeger wrote:
I think, the easiest way is to use a document based application. [...]
If you want to allow only one window, just disable or delete the
new-menu-item
That is certainly "easiest" from the point of view of setting up the
bindings (to File's Owner), but I'd suggest it's not "correct". In
particular, there seems to be a common misconception that bindings are
only useful for document-based applications (and even "only useful for
document-based applications that use table views"). Suggesting that
everyone create document-based applications simply to make
establishment of bindings easier is counter-productive.
mmalc
Sure, I know that binding is not limited to document-based
applications. I suggested this only because it is the easiest way to
save/load the data.
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.
Cheers
Peter
_______________________________________________
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.