Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings between nib files (again)



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.