Re: NSCollectionView NSArrayController bindings from outer hell
Re: NSCollectionView NSArrayController bindings from outer hell
- Subject: Re: NSCollectionView NSArrayController bindings from outer hell
- From: Quincey Morris <email@hidden>
- Date: Thu, 24 Dec 2009 13:04:36 -0800
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