From 9ac2c9e13eb63c2a3a5e9b5a14b079d4fc24a220 Mon Sep 17 00:00:00 2001 From: matt handler Date: Tue, 26 Apr 2011 14:48:07 -0400 Subject: update for new json layout --- Classes/Source.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Classes/Source.h') diff --git a/Classes/Source.h b/Classes/Source.h index 84703ee..ea8fe0d 100644 --- a/Classes/Source.h +++ b/Classes/Source.h @@ -14,13 +14,13 @@ NSString *title; NSString *category; BOOL subscribed; - NSInteger foreignId; + NSNumber *foreignId; } @property (retain) NSString *category; @property (retain) NSString *title; @property BOOL subscribed; -@property NSInteger foreignId; +@property (retain) NSNumber *foreignId; + (Source *) initFromDatabaseRow:(FMResultSet *)result; + (Source *) initWithJsonObject:(NSDictionary *)obj; -- cgit v1.2.3