I’ve been reading over many of the posts in this forum about how to add drag and drop to my project. My problem is they all seem to leave out one part, how to bind my window element to my property. Unless I’m overlooking something, which is quite possible.
I understand how to bind properties of my elements, like my window’s visible property for example, but how do I bind the window itself to i can reference it so I can apply the registerForDraggedTypes_ method?
for example, i see that in a previous post http://macscripter.net/viewtopic.php?id=38265 they talk about setting a property dropBox…
property dropBox : missing value
then they reference it like this later on…
dropBox's registerForDraggedTypes_({current application's NSFilenamesPboardType})
but I’m not understanding how to bind it so that my project understands what item dropBox is.
Could someone please help me? I want to add drag and drop support into my interface, but I just can’t seem to find the info I’m looking for.
P.S. I’m working in Xcode 4.5.x
Thanks in advance,
Dave