Caching the struct Object
        Posted  
        
            by PRamod
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by PRamod
        
        
        
        Published on 2009-01-21T16:27:25Z
        Indexed on 
            2010/03/13
            20:05 UTC
        
        
        Read the original article
        Hit count: 448
        
cocoa-touch
|objective-c
How do I create a cache for a struct pointer object in Objective-C? Is there any third party component for caching objects as Java and .NET have?
I have the following struct:
typedef struct _news {
  references
  char *headline;
  char *story_url;
} news;
I have a double pointer for the above struct in an interface class. I would like to cache it for some time using Objective-C.
© Stack Overflow or respective owner