• 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: Recommendation for keeping track of money in Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recommendation for keeping track of money in Core Data


  • Subject: Re: Recommendation for keeping track of money in Core Data
  • From: Jeff LaMarche <email@hidden>
  • Date: Mon, 16 Jan 2006 21:35:50 -0500


On Jan 16, 2006, at 8:37 PM, Mike Zornek wrote:

Longer term I'd like it to be an international app as well, and be able to
store money based on system preferences.

Oops... didn't address this part. I would think that you would handle this primarily using formatters, but would just store the actual value as a float. You might use a separate String attribute of length 3 to store the currency code (e.g. USD, EUR, CAD), but other than that, the display or formatting of the data shouldn't happen in the model layer.
_______________________________________________
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
References: 
 >Recommendation for keeping track of money in Core Data (From: Mike Zornek <email@hidden>)

  • Prev by Date: Re: Recommendation for keeping track of money in Core Data
  • Next by Date: RE: Recommendation for keeping track of money in Core Data
  • Previous by thread: Re: Recommendation for keeping track of money in Core Data
  • Next by thread: Re: Recommendation for keeping track of money in Core Data
  • Index(es):
    • Date
    • Thread