summaryrefslogtreecommitdiffstats
path: root/Classes/Source.h
diff options
context:
space:
mode:
Diffstat (limited to 'Classes/Source.h')
-rw-r--r--Classes/Source.h4
1 files changed, 2 insertions, 2 deletions
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;