Bindings, IKImageBrowserView, and reordering

  • 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
previous month november 2007 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today