I have an Objective-C++ program that uses an NSSearchField. Specifically, the NSSearchField is wrapped in a QMacCocoaViewContainer derivative (Qt). How can I set things up so that I can receive notification of textDidEndEditing from a Qt signal? Will I need a pure Objective-C class that uses NSNotificationCenter?
I have an Objective-C++ program that uses an NSSearchField. Specifically, the NSSearchField is wrapped
Share
If you’re on iOS4, looks like you can have your notification delivered to a block instead. NSNotificationCenter sports this method:
Then you could do something like:
MyClass.m:
…
…