|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- /* ---- Reddit v3 & v4 ---- */
-
- /* -- Comment Interfaces -- */
-
- @interface Comment
- //v4
- @property(strong, nonatomic) id pk;
- @property(strong, nonatomic) NSString *bodyText;
- @property(strong, nonatomic) NSString *author;
- @property(strong, nonatomic) id bodyRichTextAttributed;
- @property(strong, nonatomic) id bodyAttributedText;
-
- //v3
- -(id)pkWithoutPrefix;
- @end
-
- @interface CommentsViewController : NSObject
- @property(strong, nonatomic) id postData;
- - (void)reloadCommentsWithNewCommentsHighlight:(BOOL)arg1 autoScroll:(BOOL)arg2 animated:(BOOL)arg3;
- - (void)reloadCommentsSection:(BOOL)arg1;
- - (void)reloadPostSection:(BOOL)arg1;
- - (void)feedPostViewDidUpdatePost:(id)arg1 shouldReloadFeed:(BOOL)arg2;
- - (void)updateFloatingViews;
-
- //custom elements
- - (void)updateComments;
- - (void)updatePostText;
- @end
-
- @interface CommentActionSheetViewController : UIViewController
- @property(strong, nonatomic) Comment *comment;
- @property(strong, nonatomic) id commentTreeNode;
- @property(strong, nonatomic) CommentsViewController *commentActionSheetDelegate;
- - (id)animationControllerForDismissedController:(id)arg1;
- @end
-
-
- /* ---- Reddit v4 ---- */
-
-
- /* -- Comment Interfaces -- */
-
- @interface CommentTreeNode
- @property(strong, nonatomic) Comment *comment;
-
- //custom elements
- @property(strong, nonatomic) id commentTreeHeaderNode;
- @property(strong, nonatomic) id commentTreeCommandBarNode;
- @end
-
- @interface CommentTreeDisplayNode
- @property(strong, nonatomic) id commentNode;
- @end
-
- @interface CommentTreeHeaderNode
- @property(strong, nonatomic) id commentTreeNode;
- - (void)updateContentViewsForData:(id)arg1;
- @end
-
- @interface CommentTreeCommandBarNode
- @property(strong, nonatomic) id commentTreeNode;
- @property(strong, nonatomic) id delegate;
- @property(strong, nonatomic) UIView *view;
- @property(strong, nonatomic) id overflowButtonNode;
- @property(assign, nonatomic) CGRect frame;
- @end
-
- @interface CommentTreeHeaderView
- @property(strong, nonatomic) id commentTreeNode;
-
- - (void)updateContentViewsForData:(id)arg1;
- @end
-
- /* -- Post Interfaces -- */
-
- @interface Post
- @property(strong, nonatomic) NSString *author;
- @property(strong, nonatomic) NSString *selfText;
- @property(strong, nonatomic) id selfTextAttributed;
- @property(strong, nonatomic) id selfPostRichTextAttributed;
- @property(strong, nonatomic) id previewFeedPostTextString;
- @property(assign, nonatomic) BOOL isSelfPost;
- @property(strong, nonatomic) NSString *pk;
- @end
-
- @interface PostDetailViewController
- @property(strong, nonatomic) id selfTextNode;
- - (void)configureSelfTextNode;
-
- //custom elements
- @property(strong, nonatomic) id feedPostTextWithThumbnailNode;
- @property(strong, nonatomic) id feedPostDetailCellNode;
- @end
-
- @interface PostActionSheetViewController : UIViewController
- @property(strong, nonatomic) Post *post;
- @property(strong, nonatomic) id postActionSheetDelegate;
- @end
-
- @interface PostDetailNavigationItemHandler
- @property(strong, nonatomic) id controller;
- @property(strong, nonatomic) id presenter;
- @end
-
- @interface FeedPostDetailCellNode
- @property(strong, nonatomic) id textNode;
- @property(strong, nonatomic) id delegate;
- @property(strong, nonatomic) id contentNode;
- @property(strong, nonatomic) id titleNode;
- @end
-
- @interface FeedPostTitleNode
- @property(strong, nonatomic) id delegate;
- - (void)configureNodes;
- @end
-
- @interface FeedPostDetailDelegator
- @property(strong, nonatomic) id viewController;
- @end
-
- @interface FeedPostContentNode
- - (void)configureSelfTextNode;
- @end
-
- /* -- Other Interfaces -- */
-
- @interface RichTextDisplayNode
- @property(strong, nonatomic) id attributedText;
- @end
-
- @interface RUIActionSheetItem : NSObject
- @property(strong, nonatomic) id leftIconImage;
- - (id)initWithLeftIconImage:(id)arg1 text:(id)arg2 identifier:(id)arg3 context:(id)arg4;
- @end
-
-
- @interface ActionSheetItem : NSObject
- // <= 4.17
- @property(strong, nonatomic) id leftIconImage;
- - (id) initWithLeftIconImage:(id)arg1 text:(id)arg2 identifier:(id)arg3 context:(id)arg4;
- @end
-
- @interface RUITheme
- @property(strong, nonatomic) id bodyTextColor;
- @end
-
- @interface NSAttributedStringMarkdownParser
- + (id)currentConfig;
- + (id)attributedStringUsingCurrentConfig:(id)arg1;
- - (id)attributedStringFromMarkdownString:(id)arg1;
- - (id)initWithConfig:(id)arg1;
- @end
-
- @interface ThemeManager
-
- + (id)sharedManager;
-
- // >= 4.45.0
- @property(strong, nonatomic) id darkTheme;
- @property(strong, nonatomic) id lightTheme;
- - (id)initWithAppSettings:(id)arg1;
-
- // < 4.45.0
- @property(strong, nonatomic) id dayTheme;
- @property(strong, nonatomic) id nightTheme;
- - (id)initWithTraitCollection:(id)arg1 appSettings:(id)arg2;
-
- @end
-
- @interface AppSettings
- + (id)sharedSettings;
- - (BOOL)useDarkMode;
- - (BOOL)isAutoDarkModeEnabled;
- @end
-
- @interface AccountManager
- @property(assign, nonatomic) id defaults;
- + (id)sharedManager;
- @end
-
- @interface AppDelegate : UIResponder
- @property(strong, nonatomic) AccountManager *accountManager;
- @end
-
- /* ---- Reddit v3 ---- */
-
-
- /* -- Comment Interfaces -- */
-
- @interface CommentCell : UIView
- - (id)delegate;
- - (id)comment;
- - (id)commentView;
- @end
-
- @interface CommentView
- - (void)configureSubviews;
- - (void)layoutSubviews;
- - (id)commandView;
- - (id)comment;
- - (id)delegate;
- @end
-
- @interface CommentCommandView
- @property (strong, nonatomic) id undeleteButton;
- - (id)overflowButton;
- - (id)comment;
- - (id)delegate;
- @end
-
- /* -- Other Interfaces -- */
-
- @interface MarkDownParser
- + (id)attributedStringFromMarkdownString:(id)arg1;
- @end
-
- @interface UITraitCollection ()
- + (id)_currentTraitCollection;
- @end
|