diff options
Diffstat (limited to 'Classes/Topic.h')
-rw-r--r-- | Classes/Topic.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Classes/Topic.h b/Classes/Topic.h index a808ee1..93c1925 100644 --- a/Classes/Topic.h +++ b/Classes/Topic.h @@ -32,7 +32,9 @@ @property (nonatomic, copy) NSString *iconUrl; + (Topic *) initFromDatabaseRow:(FMResultSet *)result; ++ (Topic *) initWithJsonObject:(NSDictionary *)obj; + (NSString *) dateToString:(NSDate *)date; + (NSDate *) stringToDate:(NSString *)string; - +- (void) serializeToDatabase:(FMDatabase *)db; ++ (NSString *) getImageUrl:(NSDictionary *)obj; @end |