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.

206 satır
5.2KB

  1. /* ---- Reddit v3 & v4 ---- */
  2. /* -- Comment Interfaces -- */
  3. @interface Comment
  4. //v4
  5. @property(strong,nonatomic) id pk;
  6. @property(strong, nonatomic) NSString *bodyText;
  7. @property(strong, nonatomic) NSString *author;
  8. @property(strong, nonatomic) id bodyRichTextAttributed;
  9. @property(strong, nonatomic) id bodyAttributedText;
  10. //v3
  11. -(id)pkWithoutPrefix;
  12. @end
  13. @interface CommentsViewController : NSObject
  14. @property(strong,nonatomic) id postData;
  15. -(void) reloadCommentsWithNewCommentsHighlight:(BOOL) arg1 autoScroll:(BOOL) arg2 animated:(BOOL) arg3;
  16. -(void) reloadCommentsSection:(BOOL) arg1;
  17. -(void) reloadPostSection:(BOOL) arg1;
  18. -(void) feedPostViewDidUpdatePost:(id) arg1 shouldReloadFeed:(BOOL) arg2;
  19. -(void) updateFloatingViews;
  20. @end
  21. @interface CommentActionSheetViewController : UIViewController
  22. @property(strong,nonatomic) Comment *comment;
  23. @property(strong,nonatomic) id commentTreeNode;
  24. @property(strong,nonatomic) CommentsViewController *commentActionSheetDelegate;
  25. -(id)animationControllerForDismissedController:(id) arg1;
  26. @end
  27. /* ---- Reddit v4 ---- */
  28. /* -- Comment Interfaces -- */
  29. @interface CommentTreeNode
  30. @property(strong,nonatomic) Comment *comment;
  31. //custom elements
  32. @property(strong,nonatomic) id commentTreeHeaderNode;
  33. @property(strong,nonatomic) id commentTreeCommandBarNode;
  34. @end
  35. @interface CommentTreeDisplayNode
  36. @property(strong,nonatomic) id commentNode;
  37. @end
  38. @interface CommentTreeHeaderNode
  39. @property(strong,nonatomic) id commentTreeNode;
  40. -(void) updateContentViewsForData:(id)arg1;
  41. @end
  42. @interface CommentTreeCommandBarNode
  43. @property(strong,nonatomic) id commentTreeNode;
  44. @property(strong,nonatomic) id delegate;
  45. @property(strong,nonatomic) UIView* view;
  46. @property(strong,nonatomic) id overflowButtonNode;
  47. @property(assign,nonatomic) CGRect frame;
  48. @end
  49. @interface CommentTreeHeaderView
  50. @property(strong,nonatomic) id commentTreeNode;
  51. -(void) updateContentViewsForData:(id) arg1;
  52. @end
  53. /* -- Post Interfaces -- */
  54. @interface Post
  55. @property(strong,nonatomic) NSString *author;
  56. @property(strong,nonatomic) NSString *selfText;
  57. @property(strong,nonatomic) id selfTextAttributed;
  58. @property(strong,nonatomic) id selfPostRichTextAttributed;
  59. @property(strong,nonatomic) id previewFeedPostTextString;
  60. @property(assign,nonatomic) BOOL isSelfPost;
  61. @property(strong,nonatomic) NSString *pk;
  62. @end
  63. @interface PostDetailViewController
  64. @property(strong,nonatomic) id selfTextNode;
  65. -(void) configureSelfTextNode;
  66. //custom elements
  67. @property(strong,nonatomic) id feedPostTextWithThumbnailNode;
  68. @property(strong,nonatomic) id feedPostDetailCellNode;
  69. @end
  70. @interface PostActionSheetViewController : UIViewController
  71. @property(strong,nonatomic) Post *post;
  72. @property(strong,nonatomic) id postActionSheetDelegate;
  73. @end
  74. @interface PostDetailNavigationItemHandler
  75. @property(strong,nonatomic) id controller;
  76. @property(strong,nonatomic) id presenter;
  77. @end
  78. @interface FeedPostDetailCellNode
  79. @property(strong,nonatomic) id textNode;
  80. @property(strong,nonatomic) id delegate;
  81. @property(strong,nonatomic) id contentNode;
  82. @property(strong,nonatomic) id titleNode;
  83. @end
  84. @interface FeedPostTitleNode
  85. @property(strong,nonatomic) id delegate;
  86. -(void) configureNodes;
  87. @end
  88. @interface FeedPostDetailDelegator
  89. @property(strong,nonatomic) id viewController;
  90. @end
  91. @interface FeedPostContentNode
  92. -(void) configureSelfTextNode;
  93. @end
  94. /* -- Other Interfaces -- */
  95. @interface RichTextDisplayNode
  96. @property(strong,nonatomic) id attributedText;
  97. @end
  98. @interface RUIActionSheetItem : NSObject
  99. @property(strong,nonatomic) id leftIconImage;
  100. -(id) initWithLeftIconImage:(id) arg1 text:(id) arg2 identifier:(id) arg3 context:(id) arg4;
  101. @end
  102. @interface ActionSheetItem : NSObject
  103. // <= 4.17
  104. @property(strong,nonatomic) id leftIconImage;
  105. -(id) initWithLeftIconImage:(id) arg1 text:(id) arg2 identifier:(id) arg3 context:(id) arg4;
  106. @end
  107. @interface RUITheme
  108. @property(strong,nonatomic) id bodyTextColor;
  109. @end
  110. @interface NSAttributedStringMarkdownParser
  111. +(id) currentConfig;
  112. +(id) attributedStringUsingCurrentConfig:(id) arg1;
  113. -(id) attributedStringFromMarkdownString:(id) arg1;
  114. -(id) initWithConfig:(id) arg1;
  115. @end
  116. @interface ThemeManager
  117. +(id) sharedManager;
  118. // >= 4.45.0
  119. @property(strong,nonatomic) id darkTheme;
  120. @property(strong,nonatomic) id lightTheme;
  121. -(id) initWithAppSettings:(id) arg1;
  122. // < 4.45.0
  123. @property(strong,nonatomic) id dayTheme;
  124. @property(strong,nonatomic) id nightTheme;
  125. -(id) initWithTraitCollection:(id) arg1 appSettings:(id) arg2;
  126. @end
  127. @interface AppSettings
  128. +(id) sharedSettings;
  129. @end
  130. @interface AccountManager
  131. @property(assign,nonatomic) id defaults;
  132. +(id) sharedManager;
  133. @end
  134. /* ---- Reddit v3 ---- */
  135. /* -- Comment Interfaces -- */
  136. @interface CommentCell : UIView
  137. -(id) delegate;
  138. -(id) comment;
  139. -(id) commentView;
  140. @end
  141. @interface CommentView
  142. -(void) configureSubviews;
  143. -(void) layoutSubviews;
  144. -(id) commandView;
  145. -(id) comment;
  146. -(id) delegate;
  147. @end
  148. @interface CommentCommandView
  149. @property (strong, nonatomic) id undeleteButton;
  150. -(id)overflowButton;
  151. -(id) comment;
  152. -(id) delegate;
  153. @end
  154. /* -- Other Interfaces -- */
  155. @interface MarkDownParser
  156. +(id)attributedStringFromMarkdownString:(id)arg1;
  157. @end