One Quickie


Continuous Text Field (General->General)
Courtesy of Jens Bauer. Sometimes you'd like a text field to notify on every text change.
@interface FSContinousTextField : NSTextField
@end

@implementation FSContinousTextField

- (void) textDidChange: (NSNotification *) aNotification {
	[[self target] performSelector:[self action] withObject:self];
}

@end



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com