Re: IB 3.1 breaks NSCollectionView bindings?
Re: IB 3.1 breaks NSCollectionView bindings?
- Subject: Re: IB 3.1 breaks NSCollectionView bindings?
- From: Gerd Knops <email@hidden>
- Date: Wed, 30 Jul 2008 12:46:17 -0500
I noticed that the bindings only fail for pre-existing objects,
objects added after the xib was loaded work fine.
That lead me to a workaround: After loading the xib, I briefly set the
content array that the NSArrayController which governs the
NSCollectionView observes to nil and then back to the original value.
Now the interface works as expected.
I am pretty sure the bug is within NSCollectionView's initialization.
My guess is that the order of bindings in the nib control when the
view template's bindings are established and when the CollectionView
Item becomes valid. One way around it works, the other way around it
does not.
Gerd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden