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 93c1925..fd01bfb 100644 --- a/Classes/Topic.h +++ b/Classes/Topic.h @@ -19,9 +19,11 @@ NSNumber *picCount; NSString *guid; NSNumber *foreignId; + NSNumber *sourceId; } +@property (nonatomic, retain) NSNumber *sourceId; @property (nonatomic, retain) NSNumber *foreignId; @property (nonatomic, copy) NSNumber *picCount; @property (nonatomic, copy) NSString *title; @@ -34,7 +36,7 @@ + (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 |