Re: Bindings between nib files (again)
Re: Bindings between nib files (again)
- Subject: Re: Bindings between nib files (again)
- From: Erik Buck <email@hidden>
- Date: Thu, 30 Nov 2006 20:28:06 -0500
Bindings should usually be between objects within a model or between
model objects and view objects.
Models can be created in nib files, but they usually aren't. The
question about how to make bindings between nibs never comes up
because bindings are made from one nib to some model objects.
Different bindings are made in other nibs to the same or different
model objects.
The information that is being displayed or edited by the views in a
nib should be stored in the model objects and therefore accessible
from any/all nibs. It is very uncommon in my experience to make
bindings between user interface components and other user interface
components.
Let me also say AGAIN that bindings are only one technique that is
available, and bindings are not always the best approach. The target/
action, delegates, and notification techniques are still valid and
are preferred over bindings in many situations.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden