• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSCollectionView delegate methods aren't called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSCollectionView delegate methods aren't called (From: Rick Mann <email@hidden>)
 >Re: NSCollectionView delegate methods aren't called (From: "I. Savant" <email@hidden>)

  • Prev by Date: re: Screensaver won't run on 10.6 even after porting to 64-bit
  • Next by Date: Re: Hardware UUID in New Mac Book Pro
  • Previous by thread: Re: NSCollectionView delegate methods aren't called
  • Next by thread: Re: NSCollectionView delegate methods aren't called
  • Index(es):
    • Date
    • Thread