Re: Using Target/Argument Bindings
Re: Using Target/Argument Bindings
- Subject: Re: Using Target/Argument Bindings
- From: Owen Anderson <email@hidden>
- Date: Sun, 26 Oct 2003 22:48:10 -0500
Take a look at the example in the CocoaDocs. It criticizes the older
style of having a separate action being called depending on which radio
button was selected. It then instructs you to implement this with
Bindings. However, doing it with Bindings requires you to write a
method for each radio button that returns a unique identified string
like "OutputHTML". My point was that overall you haven't saved
anything, and that personally I'd prefer the older style since it's
actually clear what the code is trying to to do, rather than having
lots of little methods that just return strings.
Owen Anderson
On Oct 26, 2003, at 10:08 PM, Andreas Mayer wrote:
Am Montag, 27.10.03 um 03:05 Uhr schrieb Owen Anderson:
I mean, why is having a bunch of methods that return "OutputHTML" any
better than having a separate action that just handles each selection
possibility?
Care to explain that a bit more? I don't think I understand what you
are talking about.
bye. Andreas.
_______________________________________________
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.
_______________________________________________
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.