Re: Troubles with CollectionView and IKImageBrowserView
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