New file |
| | |
| | | /************************************************************ |
| | | * * Hyphenate CONFIDENTIAL |
| | | * __________________ |
| | | * Copyright (C) 2016 Hyphenate Inc. All rights reserved. |
| | | * |
| | | * NOTICE: All information contained herein is, and remains |
| | | * the property of Hyphenate Inc. |
| | | * Dissemination of this information or reproduction of this material |
| | | * is strictly forbidden unless prior written permission is obtained |
| | | * from Hyphenate Inc. |
| | | */ |
| | | |
| | | #import "EaseUserModel.h" |
| | | |
| | | @implementation EaseUserModel |
| | | |
| | | - (instancetype)initWithBuddy:(NSString *)buddy |
| | | { |
| | | self = [super init]; |
| | | if (self) { |
| | | _buddy = buddy; |
| | | _nickname = @""; |
| | | _avatarImage = [UIImage easeImageNamed:@"EaseUIResource.bundle/user"]; |
| | | } |
| | | |
| | | return self; |
| | | } |
| | | |
| | | @end |