The project has been growing since it’s inception back in 2008, I have
upgraded the versions of Xcode and adapted over the years to keep as current
as possible, this latest build is using Xcode 7.2 on OS X 10.11.3.
The “Prefer coder” check box was unchecked, I checked it and did another build
the issue still remains.
The area used to drop the item onto is a custom class linked with a outlet.
I have seven errors thrown when I do a build and they all come from the same sort of set up
used for drag and drop in different parts of my app, apart from that no other errors show at build time.
2016-01-26 15:21:01.852 BLACK MASK[55359:3442785] mainTrashWindow is (null)
2016-01-26 15:21:01.852 BLACK MASK[55359:3442785] *** -[DROPTRASH awakeFromNib]: mainTrashWindow of «script» doesn't understand the "registerForDraggedTypes_" message. (error -1708)
2016-01-26 15:21:01.854 BLACK MASK[55359:3442785] mainTrashWindow is <DROPTRASH @0x100110910: OSAID(336) ComponentInstance(0x810000)>
ok, did that and all is connected as it should be, BUT!
what I did find though is, when I right clicked on the blue cube “DROP TRASH”
the outlet mainTrashWindow" is definitely connected to the box it is supposed to
be connected to, but if I click on the “Show the Connections Inspector” top right
the "mainTrashWindow " doesn’t show as being connected, if I connect it also from there
and build the error goes away, this odd behaviour
Forgot to add, that even though it compiles, and the error goes away, the drag and drop stops working.