• 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
Re: Calculated Field examples for Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calculated Field examples for Core Data


  • Subject: Re: Calculated Field examples for Core Data
  • From: mmalcolm crawford <email@hidden>
  • Date: Fri, 12 Aug 2005 23:27:26 -0700


On Aug 12, 2005, at 4:24 PM, Clayton Leitch wrote:

I have everything working in a simple contract tracking program that uses core data. There are two entities, contract and invoiceData. There is a one to many relationship between contract and invoiceData, one contract to many invoices. Contracts are generally for one year and there will be one invoice for each month. The data on the invoice is the actual bill amount, the expected bill amount, that was predicted at the start of the contract. I would like to calculate the difference between the amounts automatically and display. Secondly, I would like to calculate the total of all invoices received against the contract, to date and display it. Downloadable code example would be helpful.

This is not a Core Data issue.

How would you approach this if you were not using Core Data? What strategies have you tried so far? What mechanism are you using to display your data (bindings?)?

mmalc
<http://www.catb.org/~esr/faqs/smart-questions.html>

_______________________________________________
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: Calculated Field examples for Core Data
      • From: Clayton Leitch <email@hidden>
References: 
 >Calculated Field examples for Core Data (From: Clayton Leitch <email@hidden>)

  • Prev by Date: Re: Copy managed object between contexts?
  • Next by Date: [Moderator] Cocoa and list resources
  • Previous by thread: Bindings: Accessing Data in an NSArrayController
  • Next by thread: Re: Calculated Field examples for Core Data
  • Index(es):
    • Date
    • Thread