Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cache Class review (low priority)




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.