Re: more than one attribute in tableview cell
Re: more than one attribute in tableview cell
- Subject: Re: more than one attribute in tableview cell
- From: Volker Runkel <email@hidden>
- Date: Wed, 3 Jan 2007 11:23:29 +0100
Hi Rolf,
your wish is possible, but not with just a single binding. If you are
using CoreData you can create one transient value that returns the
composition of your three numbers. See the documentation for an
example with FirstName, LastName and FullName ( file:///Developer/ADC
Reference Library/documentation/Cocoa/Conceptual/
NSPersistentDocumentTutorial/03_CustomClass/
chapter_4_section_3.html#//apple_ref/doc/uid/TP40002831-
DontLinkElementID_18 ). The sorting has to be implemented in code by
and, I only don't see how the interface will be designed so that
features is easily used.
If you are not using CoreData, you still should be able to add a pair
of Accessor methods to your model to provide the composite string via
KeyValueCoding.
Volker
I like to bind a tableview column to a combination
of 3 entity attributes and be able to sort the table
depending on one of the 3 attributes.
For example the column cell should look like this: 040-23455-878
where
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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