// LocalStorage.h
#import <Foundation/Foundation.h>

@interface LocalStorage : NSObject

/// Generic load for any type
+ (id)loadObjectForKey:(NSString *)key;

/// Generic save for any object
+ (void)saveObject:(id)object forKey:(NSString *)key;

/// Remove object for a key
+ (void)removeObjectForKey:(NSString *)key;

/// Load array safely (for convenience)
+ (NSArray *)loadArrayForKey:(NSString *)key;

/// Save array safely (for convenience)
+ (void)saveArray:(NSArray *)array forKey:(NSString *)key;

@end
