• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
core data approach to multi-column data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Non-ASCII NSTask arguments
  • Next by Date: Re: core data approach to multi-column data?
  • Previous by thread: Announcing ForgEdit
  • Next by thread: Re: core data approach to multi-column data?
  • Index(es):
    • Date
    • Thread