• 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 22:09:46 -0700


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@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: Jens Alfke <email@hidden>)

  • Prev by Date: Re: NSCollectionView delegate methods aren't called
  • Next by Date: Re: Appropriate dealloc and finalize actions
  • Previous by thread: Re: NSCollectionView delegate methods aren't called
  • Next by thread: Where to send different messages while RunLoop is running
  • Index(es):
    • Date
    • Thread