• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bindings between nib files (again)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Bindings between nib files (again)
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: Bindings: changing model changes some views but not others (NSTableColumn)
  • Next by Date: Re: Problems with NSArrayController and keyPath Operator
  • Previous by thread: Re: Bindings between nib files (again)
  • Next by thread: Re: Bindings between nib files (again)
  • Index(es):
    • Date
    • Thread