Custom outlets in NSCollectionViewItem subclass
I feel this being a simple task, but I don't seem to be able to make it work. I'm trying to have a NSCollectionView with custom items. I added another NSImageView to the custom view of the item, and I subclassed this view in order to add the custom outlet connected to this additional NSImageView. Now I am overriding - (NSCollectionViewItem *)newItemForRepresentedObject:(id)object because sometimes I need to remove this NSImageView. - (NSCollectionViewItem *)newItemForRepresentedObject:(id)object { CustomItem *theItem = (CustomItem *)[super newItemForRepresentedObject: object]; ... if (I need