Mailing Lists: Apple Mailing Lists

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

Binding to column headers



Hi,
Apologies for the noobish question, but I'm struggling to see how to get CoreData and bindings to do what I want, and was wondering if I'd missed something obvious.


The simplified case for what I'm trying to do is as follows:
I have a two entity model - events and properties
Events may have many properties
Properties have exactly one event.
Properties have a name and a value - essentially a key/value pair.

I would like to display a table view in which the rows are events, and the columns are properties. Making this happen for specific properties is easy - I simply set up the relevant fetched properties and grab the data. However, setting it up to display one column for each property that appears in at least one event (or some user selectable subset of this) is much harder, and I can't see the way forward.

Anyone got any ideas?

Bob

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to 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.