• 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
When/how to use bindings (was Re: MVC question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

When/how to use bindings (was Re: MVC question)


  • Subject: When/how to use bindings (was Re: MVC question)
  • From: mmalcolm crawford <email@hidden>
  • Date: Sun, 8 Feb 2004 13:44:18 -0800

On Feb 8, 2004, at 1:18 PM, Ryan Bates wrote:

An additional question, since I am rewriting the app from scratch, would this type of app benefit from using Cocoa bindings?

I really don't know much about bindings, but it seems to be best suited for widget-type applications. Throw bindings in with a couple buttons and a table view and you can create a simple program with almost no code, but when it comes to a drawing application where most of the GUI is made up of custom objects, it might be harder to implement bindings. I could be wrong though.

I think the answer is closer to, "Use what works where appropriate" -- it's not an "either/or" proposition. If you have "a drawing application where most of the GUI is made up of custom objects", bindings may be less useful for the main UI but they may still save a lot of code in the Preferences panel. And you may still have other non-custom widgets either for Inspector panels or within the main windows that could use bindings to good effect.

I would be very interested in hearing from anyone who is adopting bindings in an existing application. How easy has the process been; what have been the major obstacles (if any); what have been the main benefits (I assume there are some! :-) .

Although it would be useful to share this information with the list, if you would rather not for whatever reason, please email me privately and your input will be treated in confidence, but it will help to create and improve various pieces of documentation.

mmalc
_______________________________________________
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.

  • Follow-Ups:
    • Re: When/how to use bindings (was Re: MVC question)
      • From: John Timmer <email@hidden>
References: 
 >MVC question (From: Koen van der Drift <email@hidden>)
 >Re: MVC question (From: Ryan Bates <email@hidden>)

  • Prev by Date: Toll-Free Bridging and Performance
  • Next by Date: strange semi-newbie issue
  • Previous by thread: Re: MVC question
  • Next by thread: Re: When/how to use bindings (was Re: MVC question)
  • Index(es):
    • Date
    • Thread