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.

Reddit.h 4.0KB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. /* ---- Reddit v4 ---- */
  2. /* -- Comment Interfaces -- */
  3. @interface CommentTreeNode
  4. @property(assign,nonatomic) id comment;
  5. //custom elements
  6. @property(assign,nonatomic) id commentTreeHeaderNode;
  7. @property(assign,nonatomic) id commentTreeCommandBarNode;
  8. @end
  9. @interface CommentTreeDisplayNode
  10. @property(assign,nonatomic) id commentNode;
  11. @end
  12. @interface CommentTreeHeaderNode
  13. @property(assign,nonatomic) id commentTreeNode;
  14. -(void) updateContentViewsForData:(id)arg1;
  15. @end
  16. @interface CommentTreeCommandBarNode
  17. @property(assign,nonatomic) id commentTreeNode;
  18. @property(assign,nonatomic) id delegate;
  19. @property(assign,nonatomic) UIView* view;
  20. @property(assign,nonatomic) id overflowButtonNode;
  21. @property(assign,nonatomic) CGRect frame;
  22. //custom elements
  23. @property(assign,nonatomic) id activityIndicator;
  24. @property(assign,nonatomic) id undeleteButton;
  25. @end
  26. @interface CommentActionSheetViewController : UIViewController
  27. @property(assign,nonatomic) id comment;
  28. @property(assign,nonatomic) id commentTreeNode;
  29. -(id)animationControllerForDismissedController:(id) arg1;
  30. @end
  31. /* -- Post Interfaces -- */
  32. @interface Post
  33. @property(assign,nonatomic) id author;
  34. @property(assign,nonatomic) BOOL isSelfPost;
  35. @property(assign,nonatomic) id selfText;
  36. @property(assign,nonatomic) id selfTextAttributed;
  37. @property(assign,nonatomic) id selfPostRichTextAttributed;
  38. @end
  39. @interface PostDetailViewController
  40. @property(assign,nonatomic) id selfTextNode;
  41. -(void) configureSelfTextNode;
  42. //custom elements
  43. @property(assign,nonatomic) id feedPostTextWithThumbnailNode;
  44. @property(assign,nonatomic) id feedPostDetailCellNode;
  45. @end
  46. @interface PostActionSheetViewController : UIViewController
  47. @property(assign,nonatomic) id post;
  48. @property(assign,nonatomic) id postActionSheetDelegate;
  49. @end
  50. @interface PostDetailNavigationItemHandler
  51. @property(assign,nonatomic) id controller;
  52. @property(assign,nonatomic) id presenter;
  53. @end
  54. @interface FeedPostDetailCellNode
  55. @property(assign,nonatomic) id textNode;
  56. @property(assign,nonatomic) id delegate;
  57. @end
  58. @interface FeedPostDetailDelegator
  59. @property(assign,nonatomic) id viewController;
  60. @end
  61. /* -- Other Interfaces -- */
  62. @interface RichTextDisplayNode
  63. @property(assign,nonatomic) id attributedText;
  64. @end
  65. @interface RUIActionSheetItem : NSObject
  66. @property(assign,nonatomic) id leftIconImage;
  67. -(id) initWithLeftIconImage:(id) arg1 text:(id) arg2 identifier:(id) arg3 context:(id) arg4;
  68. @end
  69. @interface RUITheme
  70. @property(assign,nonatomic) id bodyTextColor;
  71. @end
  72. @interface NSAttributedStringMarkdownParser
  73. +(id) currentConfig;
  74. +(id) attributedStringUsingCurrentConfig:(id) arg1;
  75. -(id) attributedStringFromMarkdownString:(id) arg1;
  76. -(id) initWithConfig:(id) arg1;
  77. @end
  78. @interface ThemeManager
  79. @property(assign,nonatomic) id dayTheme;
  80. @property(assign,nonatomic) id nightTheme;
  81. -(id) initWithTraitCollection:(id) arg1 appSettings:(id) arg2;
  82. @end
  83. @interface AppSettings
  84. +(id) sharedSettings;
  85. @end
  86. @interface AccountManager
  87. @property(assign,nonatomic) id defaults;
  88. +(id) sharedManager;
  89. @end
  90. /* ---- Reddit v3 ---- */
  91. /* -- Comment Interfaces -- */
  92. @interface CommentCell : UIView
  93. -(id) delegate;
  94. -(id) comment;
  95. -(id) commentView;
  96. @end
  97. @interface CommentView
  98. -(void) configureSubviews;
  99. -(void) layoutSubviews;
  100. -(id) commandView;
  101. -(id) comment;
  102. -(id) delegate;
  103. @end
  104. @interface CommentCommandView
  105. @property (nonatomic, assign) id undeleteButton;
  106. -(id)overflowButton;
  107. -(id) comment;
  108. -(id) delegate;
  109. @end
  110. @interface CommentsViewController
  111. -(void) reloadCommentsWithNewCommentsHighlight:(BOOL) arg1 autoScroll:(BOOL) arg2 animated:(BOOL) arg3;
  112. -(void)updateFloatingViews;
  113. @end
  114. /* -- Other Interfaces -- */
  115. @interface MarkDownParser
  116. +(id)attributedStringFromMarkdownString:(id)arg1;
  117. @end
  118. /* ---- Reddit v3 & v4 ---- */
  119. @interface Comment
  120. //v4
  121. @property(assign,nonatomic) id bodyRichTextAttributed;
  122. @property(assign,nonatomic) id pk;
  123. //v3
  124. -(id)pkWithoutPrefix;
  125. @end