Re: NSCollectionView NSArrayController bindings from outer hell
Re: NSCollectionView NSArrayController bindings from outer hell
- Subject: Re: NSCollectionView NSArrayController bindings from outer hell
- From: Nicolas Berloquin <email@hidden>
- Date: Thu, 24 Dec 2009 14:06:21 +0100
>
> Why not use IKImageBrowserView? It's a perfect match for grids of images
> with titles. And faster too.
>
>
Hi !
Well, I started out with IKImageBrowserView and it worked really well, but I
needed to be able to save
the whole thing as an image, and have real control over what happens with
the item views etc,
so I switched to NSCollectionViews.
The good news is that I figured out what was wrong.
I think the culprit was that I didn't completely understand how array
binding worked, I was adding
objects directly to my array instead of having kvo methods in my document
and passing the
calls through the document itself.
The strange thing is that once I made the changes, it still didn't work.
I had to remove then recreate the NSCollectionView and all the views and
arraycontroller in IB
before it worked right.
Or maybe the chickens helped :)
_______________________________________________
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