This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
A better way to "store value types" in NSUserDefaults or NSUbiquitousKeyValueStore | |
*/ | |
import Foundation | |
/// ValueCoder is a class that can encode values of a specific type via NSCoding | |
protocol ValueCoder: NSObjectProtocol, NSCoding { | |
/// The type this coder can encode/decode | |
associatedtype ValueType |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
@interface NSBundle (Language) | |
+(void)setLanguage:(NSString*)language; | |
@end |