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?



on 12/30/07 12:00 AM, email@hidden purportedly said:

> I then created a table with a single table column. Making sure I
> select the table column in IB, In the 'value' binding I
> 
> bind > Flickr Users,
> controller key > "selection",
> model key path > "photoLists.@allKeys"
> 
> I get a "(" in the table column:
> 
> http://img341.imageshack.us/img341/7998/picture1ie4.png
> 
> m_photoLists is an NSMutableDictionary. Is there any reason I should
> use an array instead?

You are being told that there are multiple values for a single binding. What
you are doing is binding every row of a table column to the same multiple
value (@allKeys). I doubt this is what you want.

You want to bind the value to an array controller that is bound using the
above options.

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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>)



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.