MHTopicFrame.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. /** 点赞frame */
  18. @property (nonatomic , assign , readonly) CGRect thumbFrame;
  19. /** 更多frame */
  20. @property (nonatomic , assign , readonly) CGRect moreFrame;
  21. /** 时间frame */
  22. @property (nonatomic , assign , readonly) CGRect createTimeFrame;
  23. /** 话题内容frame */
  24. @property (nonatomic , assign , readonly) CGRect textFrame;
  25. /** height 这里只是 整个话题占据的高度 */
  26. @property (nonatomic , assign , readonly) CGFloat height;
  27. /** 评论尺寸模型 由于后期需要用到,所以不涉及为只读 */
  28. @property (nonatomic , strong ) NSMutableArray *commentFrames;
  29. /** tableViewFrame cell嵌套tableView用到 本人有点懒 ,公用了一套模型 */
  30. @property (nonatomic , assign , readonly) CGRect tableViewFrame;
  31. /** 话题模型 */
  32. @property (nonatomic , strong) MHTopic *topic;
  33. @end