Re: NSCollectionView delegate methods aren't called
Re: NSCollectionView delegate methods aren't called
- Subject: Re: NSCollectionView delegate methods aren't called
- From: Jens Alfke <email@hidden>
- Date: Sun, 11 Oct 2009 22:08:11 -0700
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.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden