On May 3, 2011, at 9:10 AM, Eric Williams <wile...@gmail.com> wrote:

> Any suggestions on how I can bind a button to a textfield so that the button 
> is disabled when the field is empty, and then enabled once text has been 
> entered in the field?

The typical MVC approach would be to bind your buttons enabled binding to a key 
on a controller object that, in turn, reflects the state of your text field.

Remember, the controller is where everything meets.

--Kyle Sluder_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to