Try controlTextDidChange
Am 17.06.2011 um 16:11 schrieb JAMES ROGERS:
> I have an app with six (6) text fields. I need to know when the text in any
> of the text fields has changed so I can process them as a group.
>
> AppDelegate .h
> @interface WK2CFGMacAppDelegate : NSObject <NSApplicationDelegate,
> NSTextFieldDelegate> {
> outlets
> }
> actions
> - (void) textDidChange:(NSNotification *)aNotification;
>
> AppDelegate.m
>
> -(void) awakeFromNib {
> [textField setDelegate:self] // for all six fields
> }
>
> -(void) textDidChange:(Notification *)aNotification {
> NSLog(@"Text changed");
> }
>
> The textDidChange method is not being called. Any help would be appreciated.
>
> Jim
> JIM ROGERS
> [email protected]
> http://web.me.com/jimrogers_w4atk
>
> _______________________________________________
>
> Cocoa-dev mailing list ([email protected])
>
> 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/lxr%40mac.com
>
> This email sent to [email protected]
_______________________________________________
Cocoa-dev mailing list ([email protected])
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 [email protected]