I have an NSTextFeild Subclass in which I would like to implement textDidEndEditing:
to check after each edit if it is empty or not. The method is being called perfectly, but when I click into another NSTextField
(or a subclass), all the text that was in the first textfield is immediately deleted. If I click out into the view, the text stays, but is deleted the next time i click into another textfeild. All I have in the method right now is an NSLog. Does anyone have any ideas as to why this could be happening?
#import "BufferTableCellViewTextField.h"
@implementation BufferTableCellViewTextField
- (void)textDidEndEditing:(NSNotification *)notification{
NSLog(@"END");
}
@end