In IB set the button to be disabled.
Set yourself up a delegate for the text field and let the delegate
respond to
-(void)controlTextDidChange:(NSNotification *)aNotification
It is also convenient if the delegate has a pointer to the button as
well.
When the delegate receives this notification you can then inspect what
the user has typed
and set the button state accordingly.
Peter
_______________________________________________
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