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.

59 lines
1.6KB

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