You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.5KB

  1. /* -- Comment Interfaces -- */
  2. @interface Comment
  3. @property(strong, nonatomic) NSString *author;
  4. @property(strong, nonatomic) NSString *content;
  5. @property(strong, nonatomic) NSString *identifier;
  6. @property(strong, nonatomic) id markdownString;
  7. @end
  8. @interface CommentCell : UIView
  9. @property(strong, nonatomic) id comment;
  10. @property(strong, nonatomic) id commentContentView;
  11. @property(strong, nonatomic) id authorButton;
  12. @property(assign, nonatomic) BOOL isCollapsed;
  13. @property(assign, nonatomic) BOOL commentDidChange;
  14. -(void) reloadContents;
  15. //custom elements
  16. @property(strong, nonatomic) UIButton *undeleteButton;
  17. @end
  18. /* -- Post Interfaces -- */
  19. @interface Post
  20. @property(strong, nonatomic) NSString *author;
  21. @property(strong, nonatomic) NSString *content;
  22. @property(strong, nonatomic) NSString *identifier;
  23. @property(strong, nonatomic) id markdownString;
  24. @property(strong, nonatomic) NSNumber *isSelfText;
  25. @end
  26. @interface PostDetailEmbeddedViewController
  27. @property(strong, nonatomic) UITableView *tableView;
  28. @property(strong, nonatomic) NSArray *content;
  29. //custom elements
  30. @property(strong, nonatomic) id selfTextView;
  31. @property(strong, nonatomic) id metadataView;
  32. @property(strong, nonatomic) id post;
  33. @end
  34. @interface PostToolbarView : UIView
  35. @property(strong, nonatomic) id post;
  36. //custom elements
  37. @property(strong, nonatomic) UIButton *undeleteButton;
  38. @end
  39. @interface PostSelfTextPartCell
  40. -(id) _viewControllerForAncestor;
  41. @end
  42. @interface PostMetadataView
  43. @property(strong, nonatomic) id post;
  44. @end