有人可以解释为什么textDidChange没有处理我的委托,但controlTextDidChange在NSTextField中工作.
- (void)controlTextDidChange:(NSNotification *)aNotification{
NSBeep();
}
Run Code Online (Sandbox Code Playgroud)
从
- (void)textDidChange:(NSNotification *)aNotification{
NSBeep();
}
Run Code Online (Sandbox Code Playgroud) objective-c ×1