Re: Troubles with CollectionView and IKImageBrowserView
Re: Troubles with CollectionView and IKImageBrowserView
- Subject: Re: Troubles with CollectionView and IKImageBrowserView
- From: Manuel <email@hidden>
- Date: Thu, 12 Jun 2008 08:04:37 +0200
Thank you for your response...Hmmm..I'm astonished about the
IKImageBrowserView outlet wich seems to be set correctly. And I
explicitly setted the datasource to self and reload the data. So the
object reference should be setted correctly...I have no ideas anymore.
I programm my own view with less magic..;-)
Manu
On Jun 12, 2008, at 00:25 , Jens Alfke wrote:
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
_______________________________________________
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