diff options
author | matt handler <matt.handler@gmail.com> | 2011-04-27 01:25:19 -0400 |
---|---|---|
committer | matt handler <matt.handler@gmail.com> | 2011-04-27 01:25:19 -0400 |
commit | e6eb634beac831e64becc03928a467701f9625cf (patch) | |
tree | bf6df33a2a77c6ee462438f9e0e38c1717414a4f /Classes/Topic.h | |
parent | 39478a90674f2b4238ba1cfaa49908deb0200e24 (diff) | |
download | piccast-app-e6eb634beac831e64becc03928a467701f9625cf.tar.gz piccast-app-e6eb634beac831e64becc03928a467701f9625cf.zip |
made fetcher take a payload, added favicon, turned off statement caching, may turn it back on who knows, added sourceid to topics, added category to topictableviewcell, did a little cleaning
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 |