Re: Cache Class review (low priority)
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