MHTopicFrame.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. //
  2. // MHTopicFrame.h
  3. // MHDevelopExample
  4. //
  5. // Created by CoderMikeHe on 17/2/8.
  6. // Copyright © 2017年 CoderMikeHe. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "MHTopic.h"
  10. #import "MHCommentReply.h"
  11. #import "MHCommentFrame.h"
  12. @interface MHTopicFrame : NSObject
  13. /** 头像frame */
  14. @property (nonatomic , assign , readonly) CGRect avatarFrame;
  15. /** 昵称frame */
  16. @property (nonatomic , assign , readonly) CGRect nicknameFrame;
  17. /** star */
  18. @property (nonatomic , assign , readonly) CGRect starFrame;
  19. /** 点赞frame */
  20. @property (nonatomic , assign , readonly) CGRect thumbFrame;
  21. /** 更多frame */
  22. @property (nonatomic , assign , readonly) CGRect moreFrame;
  23. /** 时间frame */
  24. @property (nonatomic , assign , readonly) CGRect createTimeFrame;
  25. /** 话题内容frame */
  26. @property (nonatomic , assign , readonly) CGRect textFrame;
  27. /** height 这里只是 整个话题占据的高度 */
  28. @property (nonatomic , assign , readonly) CGFloat height;
  29. /** 评论尺寸模型 由于后期需要用到,所以不涉及为只读 */
  30. @property (nonatomic , strong ) NSMutableArray *commentFrames;
  31. /** tableViewFrame cell嵌套tableView用到 本人有点懒 ,公用了一套模型 */
  32. @property (nonatomic , assign , readonly) CGRect tableViewFrame;
  33. /** 话题模型 */
  34. @property (nonatomic , strong) MHTopic *topic;
  35. @end