mirror of
https://github.com/lint/TFDidThatSay
synced 2025-07-05 16:56:47 +00:00
61 lines
1.4 KiB
Objective-C
61 lines
1.4 KiB
Objective-C
|
|
/* -- Voteable Interfaces -- */
|
|
|
|
@interface VoteableElement
|
|
@property(strong, nonatomic) NSString *ident;
|
|
@property(strong, nonatomic) NSString *author;
|
|
@end
|
|
|
|
@interface Comment : VoteableElement
|
|
@property(strong, nonatomic) NSString *body;
|
|
@property(strong, nonatomic) NSString *bodyHTML;
|
|
@end
|
|
|
|
@interface Post : VoteableElement
|
|
@property(strong, nonatomic) NSString *selftext;
|
|
@property(strong, nonatomic) NSString *selftextHtml;
|
|
@property(assign, nonatomic) BOOL selfPost;
|
|
@end
|
|
|
|
/* -- UI Interfaces -- */
|
|
|
|
@interface NCommentCell
|
|
@property(strong, nonatomic) Comment *comment;
|
|
@end
|
|
|
|
@interface NCommentPostHeaderCell
|
|
@property(strong, nonatomic) Post *post;
|
|
@property(strong, nonatomic) id node;
|
|
@end
|
|
|
|
@interface CommentsViewController
|
|
-(void) respondToStyleChange;
|
|
@end
|
|
|
|
@interface CommentPostHeaderNode
|
|
@property(strong, nonatomic) Comment *comment;
|
|
@property(strong, nonatomic) Post *post;
|
|
@end
|
|
|
|
@interface CommentOptionsDrawerView
|
|
@property(strong, nonatomic) NSMutableArray *buttons;
|
|
@property(assign, nonatomic) BOOL isPostHeader;
|
|
@property(strong, nonatomic) id delegate;
|
|
-(void) addButton:(id) arg1;
|
|
|
|
//custom elements
|
|
@property(strong, nonatomic) Comment *comment;
|
|
@property(strong, nonatomic) Post *post;
|
|
@property(strong, nonatomic) CommentPostHeaderNode *commentNode;
|
|
@end
|
|
|
|
/* -- Other Interfaces -- */
|
|
|
|
@interface MarkupEngine
|
|
+(id) markDownHTML:(id) arg1 forSubreddit:(id) arg2;
|
|
@end
|
|
|
|
@interface Resources
|
|
+(BOOL) isNight;
|
|
@end
|