开发者

Catching TextDidChange or DidEndEditing of an NSTextView instead of an NSTextField

It seems that NSTextView does not have the notification DidEndEditing and TextDidChan开发者_高级运维ge (which both exist for an NSTextField). Is there any similar functionality I can get out of the NSTextView? If not is there no way to know when the user has edited the text of the NsTextView?


Don't forget about superclasses. An NSTextView is a kind of NSText, and every NSText can have a delegate. It also, of course, posts matching notifications.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜