NIMLocationContentConfig.m 582 B

12345678910111213141516171819202122232425262728
  1. //
  2. // NIMLocationContentConfig.m
  3. // NIMKit
  4. //
  5. // Created by amao on 9/15/15.
  6. // Copyright (c) 2015 NetEase. All rights reserved.
  7. //
  8. #import "NIMLocationContentConfig.h"
  9. #import "NIMKit.h"
  10. @implementation NIMLocationContentConfig
  11. - (CGSize)contentSize:(CGFloat)cellWidth message:(NIMMessage *)message
  12. {
  13. return CGSizeMake(110.f, 105.f);
  14. }
  15. - (NSString *)cellContent:(NIMMessage *)message
  16. {
  17. return @"NIMSessionLocationContentView";
  18. }
  19. - (UIEdgeInsets)contentViewInsets:(NIMMessage *)message
  20. {
  21. return [[NIMKit sharedKit].config setting:message].contentInsets;
  22. }
  23. @end