mirror of
https://github.com/zhigang1992/GVUserDefaults.git
synced 2026-01-12 22:47:46 +08:00
22 lines
519 B
Objective-C
22 lines
519 B
Objective-C
//
|
|
// GVUserDefaults+Properties.m
|
|
// GVUserDefaults
|
|
//
|
|
// Created by Kevin Renskers on 18-12-12.
|
|
// Copyright (c) 2012 Gangverk. All rights reserved.
|
|
//
|
|
|
|
#import "GVUserDefaults+Properties.h"
|
|
|
|
@implementation GVUserDefaults (Properties)
|
|
|
|
- (NSString *)transformKey:(NSString *)key {
|
|
key = [key stringByReplacingCharactersInRange:NSMakeRange(0,1) withString:[[key substringToIndex:1] uppercaseString]];
|
|
return [NSString stringWithFormat:@"NSUserDefault%@", key];
|
|
}
|
|
|
|
@dynamic userName;
|
|
@dynamic userId;
|
|
|
|
@end
|