• 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: Troubles with CollectionView and IKImageBrowserView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Troubles with CollectionView and IKImageBrowserView


  • Subject: Re: Troubles with CollectionView and IKImageBrowserView
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 11 Jun 2008 15:25:56 -0700


On 11 Jun '08, at 1:14 PM, Manuel wrote:

But the IKImageBrowserView doesn't call these methods. I setup a testmethod in the MYNSCollectionViewItem like the following code, to verify that the imagebrowser outlet is set and to set again the datasource:

Hm, I don't have any exact ideas, but I wonder if something's going wrong because CollectionViewItems get copied. (The one you wire up in the nib is a prototype, and the view makes a copy of it for every item it needs.) Perhaps the item is getting set as the image-browser's data source before the copy, so the instance being displayed isn't actually the one that's the data source?


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: Troubles with CollectionView and IKImageBrowserView
      • From: Daniel Vollmer <email@hidden>
    • Re: Troubles with CollectionView and IKImageBrowserView
      • From: Manuel <email@hidden>
References: 
 >Troubles with CollectionView and IKImageBrowserView (From: Manuel <email@hidden>)

  • Prev by Date: Re: -insertNewline: and -insertLineBreak:, using the shift key modifier
  • Next by Date: Re: From c array to NSImage
  • Previous by thread: Troubles with CollectionView and IKImageBrowserView
  • Next by thread: Re: Troubles with CollectionView and IKImageBrowserView
  • Index(es):
    • Date
    • Thread