• 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: Cache Class review (low priority)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cache Class review (low priority)


  • Subject: Re: Cache Class review (low priority)
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 30 Apr 2008 19:30:46 -0700


On 30 Apr '08, at 3:14 PM, Western Botanicals wrote:

I do have a question about the NSMutableDictionary though. The reason I didn't go with that, is that I didn't know how to fit the timestamp in there. Any thoughts?

Make the values in the dictionary be compound objects. Either define a cache-entry class that has a timestamp, or just use an 2-item NSArray containing the value and a timestamp.


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Cache Class review (low priority) (From: Western Botanicals <email@hidden>)
 >Re: Cache Class review (low priority) (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Cache Class review (low priority) (From: Western Botanicals <email@hidden>)

  • Prev by Date: Re: Read-Only ABRecord
  • Next by Date: Re: Immediate memory release
  • Previous by thread: Re: Cache Class review (low priority)
  • Next by thread: how do I post my queries and see them published?
  • Index(es):
    • Date
    • Thread