Question

I have an NSOutlineView and want to be able to edit the title of the entries in that list.

The list seems to support this by default but then the error is thrown as soon as I hit enter:

Exception detected while handling key input.
-[NSProxy doesNotRecognizeSelector:controlTextDidEndEditing:] called!

I tried to implement this method in my delegate but it did not get called.

I am having this problem with a PXSourceList but I think it is a general NSOutlineView issue.

Was it helpful?

Solution

This was a bug in PXSourceList and is now fixed in version 2.0.3:

https://github.com/Perspx/PXSourceList/releases/tag/2.0.3

OTHER TIPS

The fact that an NSProxy is responding to your delegate call tells you that your own delegate is not connected to the outline view's delegate.

Check your delegate is connected to the outline view and look at the following documentation regarding delegates.

https://developer.apple.com/library/mac/qa/qa1551/_index.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top