EaseUserModel.m 744 B

123456789101112131415161718192021222324252627282930
  1. /************************************************************
  2. * * Hyphenate CONFIDENTIAL
  3. * __________________
  4. * Copyright (C) 2016 Hyphenate Inc. All rights reserved.
  5. *
  6. * NOTICE: All information contained herein is, and remains
  7. * the property of Hyphenate Inc.
  8. * Dissemination of this information or reproduction of this material
  9. * is strictly forbidden unless prior written permission is obtained
  10. * from Hyphenate Inc.
  11. */
  12. #import "EaseUserModel.h"
  13. @implementation EaseUserModel
  14. - (instancetype)initWithBuddy:(NSString *)buddy
  15. {
  16. self = [super init];
  17. if (self) {
  18. _buddy = buddy;
  19. _nickname = @"";
  20. _avatarImage = [UIImage imageNamed:@"EaseUIResource.bundle/user"];
  21. }
  22. return self;
  23. }
  24. @end