Re: Are Bindings Redundant?
Re: Are Bindings Redundant?
- Subject: Re: Are Bindings Redundant?
- From: Ondra Cada <email@hidden>
- Date: Fri, 4 Jun 2004 00:22:08 +0200
Mike,
On 3.6.2004, at 23:59, Mike R. Manzano wrote:
>
Technically, yes, but I would argue that a more useful definition of
>
"redundant" for this discussion is "has no value". Let me rephrase the
>
question:
>
>
Do bindings have value beyond what can already be done using XCode and
>
IB, specifically the normal design pattern of:
>
>
* declare a method
>
* instantiate class with method
>
* draw lines from UI elements to instantiation, and connect to method
Depending how you value your time ;)
Bindings allow you to prepare the controller (and a bit more sometimes)
in a *fraction* of the time you need with more traditional approaches.
There is price to be paid, of course--they tend to be less efficient
(nearly never an issue), and there are things they do not support
(sometimes an issue, often with more sophisticated GUI). Luckily
though, we can mix them with delegation and other traditional
techniques.
Ah, they tend to be difficult to debug. The net worth is still pretty
positive, though (after all, if used right, you hardly need to debug at
all ;))
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.