Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

210 lines
5.3KB

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