• 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
Bindings, IKImageBrowserView, and reordering
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bindings, IKImageBrowserView, and reordering


  • Subject: Bindings, IKImageBrowserView, and reordering
  • From: "Mike R. Manzano" <email@hidden>
  • Date: Wed, 7 Nov 2007 16:38:49 -0800

I have set up an IKImageBrowserView that binds to an NSArrayController (which is then bound to a mutable array in my model). This seems to work find, and the image items that I insert into the mutable array show up and are displayed by the IKImageBrowserView. I have "Reordering" selected in IB (and I verified that when the view awakes from the nib, -allowsReordering returns YES). However, I can't reorder the items in my view.

Other (possibly) important things to mention:

• The image items added to the view (ImageBrowserItem, which conforms to IKImageBrowserItem) are different instances, with different imageUIDs.
• The imageRepresentation is loaded from the same image file using NSImage's +imageNamed.
• In the NSArrayController settings, ImageBrowserItem is specified for "Class Name", which usually defalts to NSMutableDictionary.


Could this possibly have anything to do with using bindings instead of a datasource? I'm somewhat new to bindings so I suspect that maybe I've made some important setting read only, or forgot to specify something, causing the view to not allow re-ording.

Any ideas?

Thanks!

Mike
_______________________________________________

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


  • Prev by Date: Re: How to change input managers on Leopard
  • Next by Date: Bindings with GB outside of IB?
  • Previous by thread: Re: Leopard broke NSView's cacheDisplayInRect:toBitmapImageRep:
  • Next by thread: Bindings with GB outside of IB?
  • Index(es):
    • Date
    • Thread