• 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: NSCollectionView NSArrayController bindings from outer hell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSCollectionView NSArrayController bindings from outer hell (From: Nicolas Berloquin <email@hidden>)
 >Re: NSCollectionView NSArrayController bindings from outer hell (From: Mike Abdullah <email@hidden>)
 >Re: NSCollectionView NSArrayController bindings from outer hell (From: Nicolas Berloquin <email@hidden>)
 >Re: NSCollectionView NSArrayController bindings from outer hell (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: How to uncheck checkbox in an NSTableView
  • Next by Date: Re: Setting the Line Height/ Line Spacing in an NSTextView.
  • Previous by thread: Re: NSCollectionView NSArrayController bindings from outer hell
  • Next by thread: Is there a warning for this?
  • Index(es):
    • Date
    • Thread