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: Fri, 25 Dec 2009 20:52:46 +0100
I tried setting the content directly but it only generated errors.
Am I right to assume that collectionviews cannot be used without
bindings ?
(like with datasources for example) ?
Maybe it's a question of filling in the binding settings in the right
"magic" order...
Le 24 déc. 2009 à 22:04, Quincey pMorris
<email@hidden> a écrit :
On Dec 24, 2009, at 05:06, Nicolas Berloquin wrote:
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 :)
One of NSCollectionView's many bugs (under Leopard -- I gave up ever
trying to use it, so I don't know its Snow Leopard behavior) was
that establishing of bindings defined in the prototype object
*failed* at nib-loading time, depending on the order of the objects
in the nib. This meant that simply editing the xib (for any reason)
could break it, and editing the xib again could make it work.
That's likely why recreating the view "worked" -- just because you
edited the xib. The next time you edit the xib it might break again.
Or maybe the chickens *will* help.
_______________________________________________
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
_______________________________________________
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