forked from Awful/Awful.app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAwfulThread.h
More file actions
32 lines (22 loc) · 746 Bytes
/
Copy pathAwfulThread.h
File metadata and controls
32 lines (22 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// AwfulThread.h
// Awful
//
// Created by Nolan Waite on 12-05-17.
// Copyright (c) 2012 Regular Berry Software LLC. All rights reserved.
//
#import "_AwfulThread.h"
@interface AwfulThread : _AwfulThread
@property (readonly, nonatomic) NSString *firstIconName;
@property (readonly, nonatomic) NSString *secondIconName;
@property (readonly, nonatomic) BOOL beenSeen;
+ (NSArray *)threadsCreatedOrUpdatedWithParsedInfo:(NSArray *)threadInfos;
+ (NSArray *)threadsCreatedOrUpdatedWithJSON:(NSDictionary *)json;
+ (instancetype)firstOrNewThreadWithThreadID:(NSString *)threadID;
@end
typedef enum {
AwfulStarCategoryBlue = 0,
AwfulStarCategoryRed,
AwfulStarCategoryYellow,
AwfulStarCategoryNone
} AwfulStarCategory;