Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

Reddit.h 5.8KB

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