MOShowBubbleTool.m 894 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // MOShowBubbleTool.m
  3. // MiMoLive
  4. //
  5. // Created by MiMo on 2025/6/16.
  6. //
  7. #import "MOShowBubbleTool.h"
  8. @implementation MOShowBubbleTool
  9. /// 显示过送礼引导
  10. + (BOOL)hadShowSendGiftGuideView {
  11. NSString *showKey = (NSString *)[[MODataCache sharedYYCache] objectForKey:kShowSendGiftGuideViewKey];
  12. return showKey.length > 0;
  13. }
  14. /// 显示过关注引导
  15. + (BOOL)hadShowFollowGuideView {
  16. NSString *showKey = (NSString *)[[MODataCache sharedYYCache] objectForKey:kShowFollowBubbleGuideViewKey];
  17. return showKey.length > 0;
  18. }
  19. /// 显示过加入粉丝团引导
  20. + (BOOL)hadShowJointFanClubGuideViewInToDay {
  21. NSDate *showDate = (NSDate *)[[MODataCache sharedYYCache] objectForKey:kShowJoinFanClubGuideViewKey];
  22. return [NSDate isSameDay:[NSDate date] otherDate:showDate];
  23. }
  24. /// 显示过点赞引导
  25. //+ (BOOL)hadShowClickLikeGuideView {
  26. // return YES;
  27. //}
  28. @end