| 1234567891011121314151617181920212223242526272829 |
- //
- // UserEntity.m
- // MingMen
- //
- // Created by 罗云飞 on 2017/3/9.
- // Copyright © 2017年 罗云飞. All rights reserved.
- //
- @implementation UserEntity
- static UserEntity *sharedObj = nil;
- + (UserEntity *) sharedInstance
- {
- static dispatch_once_t onceToken = 0;
- dispatch_once(&onceToken, ^{
- sharedObj = [[super allocWithZone: NULL] init];
- sharedObj.account = @"";
- sharedObj.accountPassword = @"";
- sharedObj.appKey = @"";
- sharedObj.token = @"";
- });
- return sharedObj;
- }
- @end
|