FROM : public.web
DATE : Fri Nov 30 22:22:24 2007
>
> From: Joshua Emmons
>
> For some reason, bindings of controls in the initial tab (the one
> selected in IB) work fine, but all the rest are dead. This only
> happens within an NSCollectionView. If drop my NSTabView on the
> window directly, all the bindings in all the tabs work.
I've read somewhere on this list that the collection view decodes the
prototype view and recreates its bindings. But I assume the subviews
bindings (like in your example) are certainly not recreated.
If you bind your TextField manualy in – newItemForRepresentedObject:
it will do the trick.
DATE : Fri Nov 30 22:22:24 2007
>
> From: Joshua Emmons
>
> For some reason, bindings of controls in the initial tab (the one
> selected in IB) work fine, but all the rest are dead. This only
> happens within an NSCollectionView. If drop my NSTabView on the
> window directly, all the bindings in all the tabs work.
I've read somewhere on this list that the collection view decodes the
prototype view and recreates its bindings. But I assume the subviews
bindings (like in your example) are certainly not recreated.
If you bind your TextField manualy in – newItemForRepresentedObject:
it will do the trick.
| Related mails | Author | Date |
|---|---|---|
| Joshua Emmons | Nov 30, 06:08 | |
| public.web | Nov 30, 22:22 | |
| Joshua Emmons | Dec 2, 04:47 | |
| David Carlisle | Dec 3, 22:47 |






Cocoa mail archive

