• 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: Thu, 24 Dec 2009 14:06:21 +0100

>
> Why not use IKImageBrowserView? It's a perfect match for grids of images
> with titles. And faster too.
>
>
Hi !
Well, I started out with IKImageBrowserView and it worked really well, but I
needed to be able to save
the whole thing as an image, and have real control over what happens with
the item views etc,
so I switched to NSCollectionViews.

The good news is that I figured out what was wrong.
I think the culprit was that I didn't completely understand how array
binding worked, I was adding
objects directly to my array instead of having kvo methods in my document
and passing the
calls through the document itself.
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 :)
_______________________________________________

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

  • Follow-Ups:
    • Re: NSCollectionView NSArrayController bindings from outer hell
      • From: Quincey Morris <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>)

  • Prev by Date: Re: Is there a warning for this?
  • Next by Date: Re: Is there a warning for this?
  • Previous by thread: Re: NSCollectionView NSArrayController bindings from outer hell
  • Next by thread: Re: NSCollectionView NSArrayController bindings from outer hell
  • Index(es):
    • Date
    • Thread