• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IB 3.1 breaks NSCollectionView bindings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: IB 3.1 breaks NSCollectionView bindings?
      • From: Quincey Morris <email@hidden>
References: 
 >IB 3.1 breaks NSCollectionView bindings? (From: Gerd Knops <email@hidden>)
 >Re: IB 3.1 breaks NSCollectionView bindings? (From: Jonathan Hess <email@hidden>)
 >Re: IB 3.1 breaks NSCollectionView bindings? (From: Gerd Knops <email@hidden>)
 >Re: IB 3.1 breaks NSCollectionView bindings? (From: Gerd Knops <email@hidden>)

  • Prev by Date: Re: Yacc & Lex in Xcode 3.1?
  • Next by Date: code font size
  • Previous by thread: Re: IB 3.1 breaks NSCollectionView bindings?
  • Next by thread: Re: IB 3.1 breaks NSCollectionView bindings?
  • Index(es):
    • Date
    • Thread