1
0
mirror of https://github.com/lint/TFDidThatSay synced 2025-06-30 15:06:46 +00:00

Small misc improvements

This commit is contained in:
lint
2020-06-03 16:40:43 -04:00
parent a7b11813d0
commit 64da1cfef0
3 changed files with 87 additions and 87 deletions

View File

@ -2,21 +2,21 @@
/* -- Comment Interfaces -- */ /* -- Comment Interfaces -- */
@interface RKComment @interface RKComment
@property(assign,nonatomic) NSString *body; @property(strong, nonatomic) NSString *body;
@property(assign,nonatomic) NSString *bodyHTML; @property(strong, nonatomic) NSString *bodyHTML;
@property(assign,nonatomic) NSString *author; @property(strong, nonatomic) NSString *author;
@property(assign,nonatomic) NSString *fullName; @property(strong, nonatomic) NSString *fullName;
@end @end
@interface RDKComment @interface RDKComment
@property(assign,nonatomic) NSString *body; @property(strong, nonatomic) NSString *body;
@property(assign,nonatomic) NSString *bodyHTML; @property(strong, nonatomic) NSString *bodyHTML;
@property(assign,nonatomic) NSString *author; @property(strong, nonatomic) NSString *author;
@property(assign,nonatomic) NSString *fullName; @property(strong, nonatomic) NSString *fullName;
@end @end
@interface CommentCellNode @interface CommentCellNode
@property(assign,nonatomic)id view; @property(strong, nonatomic) id view;
- (BOOL)isSelected; - (BOOL)isSelected;
- (void)_layoutSublayouts; - (void)_layoutSublayouts;
- (void)didLoad; - (void)didLoad;
@ -30,9 +30,9 @@
/* -- Post Interfaces -- */ /* -- Post Interfaces -- */
@interface RKLink @interface RKLink
@property(assign,nonatomic) NSString *selfText; @property(strong, nonatomic) NSString *selfText;
@property(assign,nonatomic) NSString *author; @property(strong, nonatomic) NSString *author;
@property(assign,nonatomic) NSString *fullName; @property(strong, nonatomic) NSString *fullName;
- (BOOL)isSelfPost; - (BOOL)isSelfPost;
//custom elements //custom elements
@ -40,9 +40,9 @@
@end @end
@interface RDKLink @interface RDKLink
@property(assign,nonatomic) NSString *selfText; @property(strong, nonatomic) NSString *selfText;
@property(assign,nonatomic) NSString *author; @property(strong, nonatomic) NSString *author;
@property(assign,nonatomic) NSString *fullName; @property(strong, nonatomic) NSString *fullName;
- (BOOL)isSelfPost; - (BOOL)isSelfPost;
//custom elements //custom elements
@ -85,20 +85,20 @@
@end @end
@interface ASImageNode @interface ASImageNode
@property(assign,nonatomic)id image; @property(strong, nonatomic) id image;
@property(assign,nonatomic) CGRect frame; @property(assign, nonatomic) CGRect frame;
@property(assign,nonatomic) id view; @property(strong, nonatomic) id view;
- (CGRect)_frameInWindow; - (CGRect)_frameInWindow;
@end @end
@interface ASTextNode @interface ASTextNode
@property(assign,nonatomic) CGRect frame; @property(assign, nonatomic) CGRect frame;
@property(assign,nonatomic) NSAttributedString *attributedString; @property(strong, nonatomic) NSAttributedString *attributedString;
@property(assign,nonatomic) NSAttributedString *attributedText; @property(strong, nonatomic) NSAttributedString *attributedText;
@end @end
@interface ApolloButtonNode @interface ApolloButtonNode
@property(assign,nonatomic) ASTextNode *titleNode; @property(strong, nonatomic) ASTextNode *titleNode;
- (void) setAttributedTitle:(id)arg1 forState:(NSInteger)arg2; - (void) setAttributedTitle:(id)arg1 forState:(NSInteger)arg2;
- (id) attributedTitleForState:(NSInteger)arg1; - (id) attributedTitleForState:(NSInteger)arg1;
@end @end

View File

@ -2,16 +2,16 @@
/* -- Comment Interfaces -- */ /* -- Comment Interfaces -- */
@interface RKComment @interface RKComment
@property(assign,nonatomic) NSString* author; @property(strong, nonatomic) NSString *author;
@property(assign,nonatomic) NSString* parentID; @property(strong, nonatomic) NSString *parentID;
@property(assign,nonatomic) NSString* body; @property(strong, nonatomic) NSString *body;
@property(assign,nonatomic) NSString* fullName; @property(strong, nonatomic) NSString *fullName;
- (BOOL)isSaved; - (BOOL)isSaved;
@end @end
@interface NRTCommentsManager @interface NRTCommentsManager
@property(assign,nonatomic) NSMutableArray* comments; @property(strong, nonatomic) NSMutableArray *comments;
- (void)updateComment:(id)arg1 fromEdited:(id)arg2; - (void)updateComment:(id)arg1 fromEdited:(id)arg2;
@end @end
@ -19,9 +19,9 @@
/* -- Post Interfaces -- */ /* -- Post Interfaces -- */
@interface RKLink @interface RKLink
@property(assign,nonatomic) NSString* author; @property(strong, nonatomic) NSString *author;
@property(assign,nonatomic) NSString* selfText; @property(strong, nonatomic) NSString *selfText;
@property(assign,nonatomic) NSString* fullName; @property(strong, nonatomic) NSString *fullName;
@end @end
@interface NRTLinkTitleCell @interface NRTLinkTitleCell
@ -29,7 +29,7 @@
@end @end
@interface NRTLinkTextCell @interface NRTLinkTextCell
@property(assign,nonatomic) id bodyLabel; @property(strong, nonatomic) id bodyLabel;
- (void)configureCellForText:(id)arg1 links:(id)arg2; - (void)configureCellForText:(id)arg1 links:(id)arg2;
@end @end
@ -37,7 +37,7 @@
/* -- Other Interfaces -- */ /* -- Other Interfaces -- */
@interface NRTAuthManager @interface NRTAuthManager
@property(assign,nonatomic) NSString* currentUsername; @property(strong, nonatomic) NSString *currentUsername;
+ (id)sharedManager; + (id)sharedManager;
@end @end
@ -47,20 +47,20 @@
@end @end
@interface NRTAttributedLabel @interface NRTAttributedLabel
@property(assign,nonatomic) id attributedText; @property(strong, nonatomic) id attributedText;
@end @end
@interface NRTMediaViewController : UIViewController @interface NRTMediaViewController : UIViewController
@end @end
@interface NRTLinkViewController : UIViewController @interface NRTLinkViewController : UIViewController
@property(assign,nonatomic) id comment; @property(strong, nonatomic) id comment;
@property(assign,nonatomic) id commentsManager; @property(strong, nonatomic) id commentsManager;
@property(assign,nonatomic) id linkTextOffscreenCell; @property(strong, nonatomic) id linkTextOffscreenCell;
@property(assign,nonatomic) id linkTitleOffscreenCell; @property(strong, nonatomic) id linkTitleOffscreenCell;
@property(assign,nonatomic) id link; @property(strong, nonatomic) id link;
@property(assign,nonatomic) id linkText; @property(strong, nonatomic) id linkText;
@property(assign,nonatomic) id tableView; @property(strong, nonatomic) id tableView;
- (void)_handleActionSheetCopyCommentText:(id)arg1; - (void)_handleActionSheetCopyCommentText:(id)arg1;
- (void)_handleActionSheetDeleteComment:(id)arg1; - (void)_handleActionSheetDeleteComment:(id)arg1;
@ -90,8 +90,8 @@
@end @end
@interface NRTMediaTableViewDataSource @interface NRTMediaTableViewDataSource
@property(assign,nonatomic) id commentsManager; @property(strong, nonatomic) id commentsManager;
@property(assign,nonatomic) id parentController; @property(strong, nonatomic) id parentController;
- (void)_handleActionSheetCopyCommentText:(id)arg1; - (void)_handleActionSheetCopyCommentText:(id)arg1;
- (void)_handleActionSheetDeleteComment:(id)arg1; - (void)_handleActionSheetDeleteComment:(id)arg1;

View File

@ -4,7 +4,7 @@
@interface Comment @interface Comment
//v4 //v4
@property(strong,nonatomic) id pk; @property(strong, nonatomic) id pk;
@property(strong, nonatomic) NSString *bodyText; @property(strong, nonatomic) NSString *bodyText;
@property(strong, nonatomic) NSString *author; @property(strong, nonatomic) NSString *author;
@property(strong, nonatomic) id bodyRichTextAttributed; @property(strong, nonatomic) id bodyRichTextAttributed;
@ -15,7 +15,7 @@
@end @end
@interface CommentsViewController : NSObject @interface CommentsViewController : NSObject
@property(strong,nonatomic) id postData; @property(strong, nonatomic) id postData;
- (void)reloadCommentsWithNewCommentsHighlight:(BOOL)arg1 autoScroll:(BOOL)arg2 animated:(BOOL)arg3; - (void)reloadCommentsWithNewCommentsHighlight:(BOOL)arg1 autoScroll:(BOOL)arg2 animated:(BOOL)arg3;
- (void)reloadCommentsSection:(BOOL)arg1; - (void)reloadCommentsSection:(BOOL)arg1;
- (void)reloadPostSection:(BOOL)arg1; - (void)reloadPostSection:(BOOL)arg1;
@ -28,9 +28,9 @@
@end @end
@interface CommentActionSheetViewController : UIViewController @interface CommentActionSheetViewController : UIViewController
@property(strong,nonatomic) Comment *comment; @property(strong, nonatomic) Comment *comment;
@property(strong,nonatomic) id commentTreeNode; @property(strong, nonatomic) id commentTreeNode;
@property(strong,nonatomic) CommentsViewController *commentActionSheetDelegate; @property(strong, nonatomic) CommentsViewController *commentActionSheetDelegate;
- (id)animationControllerForDismissedController:(id)arg1; - (id)animationControllerForDismissedController:(id)arg1;
@end @end
@ -41,32 +41,32 @@
/* -- Comment Interfaces -- */ /* -- Comment Interfaces -- */
@interface CommentTreeNode @interface CommentTreeNode
@property(strong,nonatomic) Comment *comment; @property(strong, nonatomic) Comment *comment;
//custom elements //custom elements
@property(strong,nonatomic) id commentTreeHeaderNode; @property(strong, nonatomic) id commentTreeHeaderNode;
@property(strong,nonatomic) id commentTreeCommandBarNode; @property(strong, nonatomic) id commentTreeCommandBarNode;
@end @end
@interface CommentTreeDisplayNode @interface CommentTreeDisplayNode
@property(strong,nonatomic) id commentNode; @property(strong, nonatomic) id commentNode;
@end @end
@interface CommentTreeHeaderNode @interface CommentTreeHeaderNode
@property(strong,nonatomic) id commentTreeNode; @property(strong, nonatomic) id commentTreeNode;
- (void)updateContentViewsForData:(id)arg1; - (void)updateContentViewsForData:(id)arg1;
@end @end
@interface CommentTreeCommandBarNode @interface CommentTreeCommandBarNode
@property(strong,nonatomic) id commentTreeNode; @property(strong, nonatomic) id commentTreeNode;
@property(strong,nonatomic) id delegate; @property(strong, nonatomic) id delegate;
@property(strong,nonatomic) UIView* view; @property(strong, nonatomic) UIView *view;
@property(strong,nonatomic) id overflowButtonNode; @property(strong, nonatomic) id overflowButtonNode;
@property(assign,nonatomic) CGRect frame; @property(assign, nonatomic) CGRect frame;
@end @end
@interface CommentTreeHeaderView @interface CommentTreeHeaderView
@property(strong,nonatomic) id commentTreeNode; @property(strong, nonatomic) id commentTreeNode;
- (void)updateContentViewsForData:(id)arg1; - (void)updateContentViewsForData:(id)arg1;
@end @end
@ -74,48 +74,48 @@
/* -- Post Interfaces -- */ /* -- Post Interfaces -- */
@interface Post @interface Post
@property(strong,nonatomic) NSString *author; @property(strong, nonatomic) NSString *author;
@property(strong,nonatomic) NSString *selfText; @property(strong, nonatomic) NSString *selfText;
@property(strong,nonatomic) id selfTextAttributed; @property(strong, nonatomic) id selfTextAttributed;
@property(strong,nonatomic) id selfPostRichTextAttributed; @property(strong, nonatomic) id selfPostRichTextAttributed;
@property(strong,nonatomic) id previewFeedPostTextString; @property(strong, nonatomic) id previewFeedPostTextString;
@property(assign,nonatomic) BOOL isSelfPost; @property(assign, nonatomic) BOOL isSelfPost;
@property(strong,nonatomic) NSString *pk; @property(strong, nonatomic) NSString *pk;
@end @end
@interface PostDetailViewController @interface PostDetailViewController
@property(strong,nonatomic) id selfTextNode; @property(strong, nonatomic) id selfTextNode;
- (void)configureSelfTextNode; - (void)configureSelfTextNode;
//custom elements //custom elements
@property(strong,nonatomic) id feedPostTextWithThumbnailNode; @property(strong, nonatomic) id feedPostTextWithThumbnailNode;
@property(strong,nonatomic) id feedPostDetailCellNode; @property(strong, nonatomic) id feedPostDetailCellNode;
@end @end
@interface PostActionSheetViewController : UIViewController @interface PostActionSheetViewController : UIViewController
@property(strong,nonatomic) Post *post; @property(strong, nonatomic) Post *post;
@property(strong,nonatomic) id postActionSheetDelegate; @property(strong, nonatomic) id postActionSheetDelegate;
@end @end
@interface PostDetailNavigationItemHandler @interface PostDetailNavigationItemHandler
@property(strong,nonatomic) id controller; @property(strong, nonatomic) id controller;
@property(strong,nonatomic) id presenter; @property(strong, nonatomic) id presenter;
@end @end
@interface FeedPostDetailCellNode @interface FeedPostDetailCellNode
@property(strong,nonatomic) id textNode; @property(strong, nonatomic) id textNode;
@property(strong,nonatomic) id delegate; @property(strong, nonatomic) id delegate;
@property(strong,nonatomic) id contentNode; @property(strong, nonatomic) id contentNode;
@property(strong,nonatomic) id titleNode; @property(strong, nonatomic) id titleNode;
@end @end
@interface FeedPostTitleNode @interface FeedPostTitleNode
@property(strong,nonatomic) id delegate; @property(strong, nonatomic) id delegate;
- (void)configureNodes; - (void)configureNodes;
@end @end
@interface FeedPostDetailDelegator @interface FeedPostDetailDelegator
@property(strong,nonatomic) id viewController; @property(strong, nonatomic) id viewController;
@end @end
@interface FeedPostContentNode @interface FeedPostContentNode
@ -125,23 +125,23 @@
/* -- Other Interfaces -- */ /* -- Other Interfaces -- */
@interface RichTextDisplayNode @interface RichTextDisplayNode
@property(strong,nonatomic) id attributedText; @property(strong, nonatomic) id attributedText;
@end @end
@interface RUIActionSheetItem : NSObject @interface RUIActionSheetItem : NSObject
@property(strong,nonatomic) id leftIconImage; @property(strong, nonatomic) id leftIconImage;
- (id)initWithLeftIconImage:(id)arg1 text:(id)arg2 identifier:(id)arg3 context:(id)arg4; - (id)initWithLeftIconImage:(id)arg1 text:(id)arg2 identifier:(id)arg3 context:(id)arg4;
@end @end
@interface ActionSheetItem : NSObject @interface ActionSheetItem : NSObject
// <= 4.17 // <= 4.17
@property(strong,nonatomic) id leftIconImage; @property(strong, nonatomic) id leftIconImage;
- (id) initWithLeftIconImage:(id)arg1 text:(id)arg2 identifier:(id)arg3 context:(id)arg4; - (id) initWithLeftIconImage:(id)arg1 text:(id)arg2 identifier:(id)arg3 context:(id)arg4;
@end @end
@interface RUITheme @interface RUITheme
@property(strong,nonatomic) id bodyTextColor; @property(strong, nonatomic) id bodyTextColor;
@end @end
@interface NSAttributedStringMarkdownParser @interface NSAttributedStringMarkdownParser
@ -156,13 +156,13 @@
+ (id)sharedManager; + (id)sharedManager;
// >= 4.45.0 // >= 4.45.0
@property(strong,nonatomic) id darkTheme; @property(strong, nonatomic) id darkTheme;
@property(strong,nonatomic) id lightTheme; @property(strong, nonatomic) id lightTheme;
- (id)initWithAppSettings:(id)arg1; - (id)initWithAppSettings:(id)arg1;
// < 4.45.0 // < 4.45.0
@property(strong,nonatomic) id dayTheme; @property(strong, nonatomic) id dayTheme;
@property(strong,nonatomic) id nightTheme; @property(strong, nonatomic) id nightTheme;
- (id)initWithTraitCollection:(id)arg1 appSettings:(id)arg2; - (id)initWithTraitCollection:(id)arg1 appSettings:(id)arg2;
@end @end
@ -172,7 +172,7 @@
@end @end
@interface AccountManager @interface AccountManager
@property(assign,nonatomic) id defaults; @property(assign, nonatomic) id defaults;
+ (id)sharedManager; + (id)sharedManager;
@end @end