On Oct 11, 2009, at 22:08:11, Jens Alfke wrote:
On Oct 11, 2009, at 12:28 PM, Rick Mann wrote:
I'm trying to implement drag & drop in my NSCollectionView,
following the 10.6 release notes. I've got my delegate set, but
nothing was happening. I then implemented each of the methods to
see if any were called, and none are. I've verified that the
delegate is indeed connected.
Not to discourage you, but my experience with NSCollectionView in
10.5 was that it was extremely buggy; in the end it probably cost me
more time to try to get it working in my app, than it would have to
just write my own equivalent. But hopefully this is better in 10.6,
so don't give up yet :)
What helped me out was to look for Apple sample code using
NSCollectionView, and change it around to try to add the feature I
was trying to make work. Sometimes that showed how a seemingly-
innocent difference in my code or nib was actually preventing it
from working, for some reason.
The only sample code seems to be IconCollection, and it doesn't do
drag & drop.
--
Rick
_______________________________________________
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]