Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cocoa bindings NSTableColumn to @allKeys?



Sorry, I didn't get your reply until now.

So, yes I did manage to get this working..

NSArrayController
bind > Flickr Users
controller key > selection
model key path > photoLists.@allKeys  // *had* to have the @ in there
for it to 'work'

--deleted all the bogus keys in the Flickr Photo Lists NSArrayController

NSTableColumn
bind > Flickr Photo Lists
controller key > arrangedObjects
model key path > <blank>  // can leave this blank because IB couldn't
autocomplete this field due to lack of keys


Thanks guys!!

Michael

On Dec 30, 2007 6:19 PM, mmalc crawford <email@hidden> wrote:
>
> On Dec 30, 2007, at 6:12 PM, Michael Hanna wrote:
>
> > do I need to enter a model key path? after all -allKeys returns
> > NSStrings doesn't it? I can't leave the field empty and I consistently
> > get the runtime error:
>
> Umm, I addressed that in my reply.
>
> mmalc
>
>
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >cocoa bindings NSTableColumn to @allKeys? (From: "Michael Hanna" <email@hidden>)
 >Re: cocoa bindings NSTableColumn to @allKeys? (From: Keary Suska <email@hidden>)
 >Re: cocoa bindings NSTableColumn to @allKeys? (From: "Michael Hanna" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.