branch | ios-develop |
changeset 13172 | c129707eb1e6 |
parent 13171 | ba5c794adae3 |
--- a/project_files/HedgewarsMobile/Classes/ExtraCategories.h Sun Mar 11 22:39:40 2018 +0100 +++ b/project_files/HedgewarsMobile/Classes/ExtraCategories.h Sun Mar 11 23:24:05 2018 +0100 @@ -72,3 +72,9 @@ @end +@interface NSUserDefaults (setNonExisting) + +- (void)setDefaultValue:(nullable id)value forNonExistingKey:(NSString *_Nonnull)key; +- (void)setDefaultBool:(BOOL)boolValue forNonExistingKey:(NSString *_Nonnull)key; + +@end