Edit titles of `NSOutlineView` inline

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.

Answers


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


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


Need Your Help

Integrate jQuery plugin with LimeJS game engine

javascript jquery-plugins game-engine isometric limejs

I'm using the HTML5 game engine LimeJS and want to integrate a jQuery plugin for an isometric map. I added the tutorial script to a simple LimeJS program and there seems to be a conflict between Li...

Add data to Observable

rxjs rxjs5

I have three Observables that are containing fetched data from the server (all of the same type). For displaying the data nicely I want to add empty data points to the streams so the times align (the