Cocoa Accessibility : Parent does not report element as one of its children

274 Views Asked by At

I'm developing a UI app for the Mac OS. I was just using the Accessibility Inspector that comes with OSX when I saw this following error :

"Parent does not report element as one of its children"

enter image description here

Which I can understand because my cursor was over a element of a NSCollectionView.

So how can I "register" the subitems as children of the Collection ?

Edit: I also observe some weird behaviour: When Accessibility Inspector is open, every time I enter one of my subelements with my cursor I get the following message.

-[DriveViewBox item]: unrecognized selector sent to instance 0x########

Where DriveViewBox is a NSBox subclass.

0

There are 0 best solutions below