There it was! My "properties" property is an NSOrderedSet. After some more time 
in the debugger, I found out that the tree controller gets the object at 
children key path, and checks whether it's an NSSet or an NSArray. NSOrderedSet 
is neither, it inherits directly from NSObject and that appears to be the 
problem.

As a quick hack to test this, I made a "propertiesSet" property that just 
returns [[self properties] set] and the children now show up as expected.

I guess I'll have to refactor some things.

Mikkel



_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to