• 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
Tables showing different kind of core data entities
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tables showing different kind of core data entities


  • Subject: Tables showing different kind of core data entities
  • From: Matteo Rossi <email@hidden>
  • Date: Thu, 7 Jul 2005 00:33:47 +0200

Let's suppose I define an abstract entity called Shape with one attribute called area.
Next I create two derived classes: Rectangle and Circle; the first has two attributes wifth and height and the second has one attribute, radius.
I implement the calculation of area for each entity assigning them to two different classes CRectangle and CCircle derived from NSManagedObject.
Here comes the problem: I want to display all the entities I create (both rectangles or circles) in a single table with two columns: one for a counter and a second for areas.
How can I do this ? I can bind the table's columns to a rectangle or circle array controller but If I want to display both ?


Matteo Rossi

_______________________________________________
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


  • Follow-Ups:
    • Re: Tables showing different kind of core data entities
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: Singleton and NSTimer
  • Next by Date: Updating a _loaded_ Preference Pane
  • Previous by thread: Re: Singleton and NSTimer
  • Next by thread: Re: Tables showing different kind of core data entities
  • Index(es):
    • Date
    • Thread