Re: NSCollectionView delegate methods aren't called
Re: NSCollectionView delegate methods aren't called
- Subject: Re: NSCollectionView delegate methods aren't called
- From: Rick Mann <email@hidden>
- Date: Sun, 11 Oct 2009 20:35:58 -0700
On Oct 11, 2009, at 12:54:20, I. Savant wrote:
On Oct 11, 2009, at 3: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.
Where is your delegate instantiated? In the nib or at runtime?
Where is your delegate set? In the nib or at runtime?
The delegate is set in the nib. The delegate is the File's Owner (a
window controller).
Have you queried the collection view's delegate at runtime as well
to see if it's changed (or not set when you thought it was)?
I verified at run time that the delegate is set.
What is the exact method signature of your delegate methods? Did
you copy and paste or did you type them by hand?
Copied and pasted from the docs.
_______________________________________________
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