core data approach to multi-column data?
core data approach to multi-column data?
- Subject: core data approach to multi-column data?
- From: "Paul L. Gribble" <email@hidden>
- Date: Tue, 22 Aug 2006 14:46:21 -0400
I am writing an app that does various statistical analyses on columns
of data (e.g. mean, correlation, t-tests, etc). A given document will
contain a "dataset". The dataset is essentially a 2-dimensional
array. The number of rows and columns can dynamically change.
I am trying to think about how (a) to design the core data entities,
and (b) how to link them easily to a view (e.g. NSTableView). One
idea is to have an entity called "row" which has a many-to-one
relationship to an entity called "column". Then each row of data can
have multiple columns. The question then is how to get an NSTableView
to be bound to display each "column" of data in its own column in the
NSTableView. Core data seems set up for more traditional database-
style apps where a row in an NSTableView is a single entity, and the
different columns are different attributes of that entity.
Any thoughts? The reason I'm thinking core data is pure laziness, the
file opening/saving, searching, and undo/redo comes basically for free
Thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden