Просмотр исходного кода

Small misc improvements

master
lint 4 лет назад
Родитель
Сommit
64da1cfef0
3 измененных файлов: 87 добавлений и 87 удалений
  1. +22
    -22
      tweak/Apollo.h
  2. +20
    -20
      tweak/Narwhal.h
  3. +45
    -45
      tweak/Reddit.h

+ 22
- 22
tweak/Apollo.h Просмотреть файл

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

+ 20
- 20
tweak/Narwhal.h Просмотреть файл

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

+ 45
- 45
tweak/Reddit.h Просмотреть файл

@@ -4,7 +4,7 @@
@interface Comment
//v4
@property(strong,nonatomic) id pk;
@property(strong, nonatomic) id pk;
@property(strong, nonatomic) NSString *bodyText;
@property(strong, nonatomic) NSString *author;
@property(strong, nonatomic) id bodyRichTextAttributed;
@@ -15,7 +15,7 @@
@end
@interface CommentsViewController : NSObject
@property(strong,nonatomic) id postData;
@property(strong, nonatomic) id postData;
- (void)reloadCommentsWithNewCommentsHighlight:(BOOL)arg1 autoScroll:(BOOL)arg2 animated:(BOOL)arg3;
- (void)reloadCommentsSection:(BOOL)arg1;
- (void)reloadPostSection:(BOOL)arg1;
@@ -28,9 +28,9 @@
@end
@interface CommentActionSheetViewController : UIViewController
@property(strong,nonatomic) Comment *comment;
@property(strong,nonatomic) id commentTreeNode;
@property(strong,nonatomic) CommentsViewController *commentActionSheetDelegate;
@property(strong, nonatomic) Comment *comment;
@property(strong, nonatomic) id commentTreeNode;
@property(strong, nonatomic) CommentsViewController *commentActionSheetDelegate;
- (id)animationControllerForDismissedController:(id)arg1;
@end
@@ -41,32 +41,32 @@
/* -- Comment Interfaces -- */
@interface CommentTreeNode
@property(strong,nonatomic) Comment *comment;
@property(strong, nonatomic) Comment *comment;
//custom elements
@property(strong,nonatomic) id commentTreeHeaderNode;
@property(strong,nonatomic) id commentTreeCommandBarNode;
@property(strong, nonatomic) id commentTreeHeaderNode;
@property(strong, nonatomic) id commentTreeCommandBarNode;
@end
@interface CommentTreeDisplayNode
@property(strong,nonatomic) id commentNode;
@property(strong, nonatomic) id commentNode;
@end
@interface CommentTreeHeaderNode
@property(strong,nonatomic) id commentTreeNode;
@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;
@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;
@property(strong, nonatomic) id commentTreeNode;
- (void)updateContentViewsForData:(id)arg1;
@end
@@ -74,48 +74,48 @@
/* -- 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;
@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;
@property(strong, nonatomic) id selfTextNode;
- (void)configureSelfTextNode;
//custom elements
@property(strong,nonatomic) id feedPostTextWithThumbnailNode;
@property(strong,nonatomic) id feedPostDetailCellNode;
@property(strong, nonatomic) id feedPostTextWithThumbnailNode;
@property(strong, nonatomic) id feedPostDetailCellNode;
@end
@interface PostActionSheetViewController : UIViewController
@property(strong,nonatomic) Post *post;
@property(strong,nonatomic) id postActionSheetDelegate;
@property(strong, nonatomic) Post *post;
@property(strong, nonatomic) id postActionSheetDelegate;
@end
@interface PostDetailNavigationItemHandler
@property(strong,nonatomic) id controller;
@property(strong,nonatomic) id presenter;
@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;
@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;
@property(strong, nonatomic) id delegate;
- (void)configureNodes;
@end
@interface FeedPostDetailDelegator
@property(strong,nonatomic) id viewController;
@property(strong, nonatomic) id viewController;
@end
@interface FeedPostContentNode
@@ -125,23 +125,23 @@
/* -- Other Interfaces -- */
@interface RichTextDisplayNode
@property(strong,nonatomic) id attributedText;
@property(strong, nonatomic) id attributedText;
@end
@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;
@end
@interface ActionSheetItem : NSObject
// <= 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;
@end
@interface RUITheme
@property(strong,nonatomic) id bodyTextColor;
@property(strong, nonatomic) id bodyTextColor;
@end
@interface NSAttributedStringMarkdownParser
@@ -156,13 +156,13 @@
+ (id)sharedManager;
// >= 4.45.0
@property(strong,nonatomic) id darkTheme;
@property(strong,nonatomic) id lightTheme;
@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;
@property(strong, nonatomic) id dayTheme;
@property(strong, nonatomic) id nightTheme;
- (id)initWithTraitCollection:(id)arg1 appSettings:(id)arg2;
@end
@@ -172,7 +172,7 @@
@end
@interface AccountManager
@property(assign,nonatomic) id defaults;
@property(assign, nonatomic) id defaults;
+ (id)sharedManager;
@end

Загрузка…
Отмена
Сохранить