WFCCUnreadCount.m 478 B

12345678910111213141516171819
  1. //
  2. // WFCCUnreadCount.m
  3. // WFChatClient
  4. //
  5. // Created by WF Chat on 2018/9/30.
  6. // Copyright © 2018 WildFireChat. All rights reserved.
  7. //
  8. #import "WFCCUnreadCount.h"
  9. @implementation WFCCUnreadCount
  10. +(instancetype)countOf:(int)unread mention:(int)mention mentionAll:(int)mentionAll {
  11. WFCCUnreadCount *count = [[WFCCUnreadCount alloc] init];
  12. count.unread = unread;
  13. count.unreadMention = mention;
  14. count.unreadMentionAll = mentionAll;
  15. return count;
  16. }
  17. @end