diff --git a/Classes/TaskBagImpl.m b/Classes/TaskBagImpl.m index b62c346..b97c77c 100644 --- a/Classes/TaskBagImpl.m +++ b/Classes/TaskBagImpl.m @@ -222,7 +222,7 @@ - (NSArray*) tasksWithFilter:(id)filter withSortOrder:(Sort*)sortOrder { return localTasks; } -- (int) size { +- (NSUInteger) size { return [self.tasks count]; } diff --git a/Libraries/InAppSettingsKit/Models/IASKSettingsStore.h b/Libraries/InAppSettingsKit/Models/IASKSettingsStore.h index c1b53ba..f081d53 100644 --- a/Libraries/InAppSettingsKit/Models/IASKSettingsStore.h +++ b/Libraries/InAppSettingsKit/Models/IASKSettingsStore.h @@ -27,7 +27,7 @@ - (BOOL)boolForKey:(NSString*)key; - (float)floatForKey:(NSString*)key; - (double)doubleForKey:(NSString*)key; -- (int)integerForKey:(NSString*)key; +- (NSInteger)integerForKey:(NSString*)key; - (id)objectForKey:(NSString*)key; - (BOOL)synchronize; // Write settings to a permanant storage. Returns YES on success, NO otherwise @end diff --git a/Libraries/InAppSettingsKit/Models/IASKSettingsStore.m b/Libraries/InAppSettingsKit/Models/IASKSettingsStore.m index 8efbe7d..e37e6a6 100644 --- a/Libraries/InAppSettingsKit/Models/IASKSettingsStore.m +++ b/Libraries/InAppSettingsKit/Models/IASKSettingsStore.m @@ -53,7 +53,7 @@ - (BOOL)boolForKey:(NSString*)key { - (float)floatForKey:(NSString*)key { return [[self objectForKey:key] floatValue]; } -- (int)integerForKey:(NSString*)key { +- (NSInteger)integerForKey:(NSString*)key { return [[self objectForKey:key] intValue]; } diff --git a/Libraries/InAppSettingsKit/Models/IASKSettingsStoreUserDefaults.m b/Libraries/InAppSettingsKit/Models/IASKSettingsStoreUserDefaults.m index fd24bf0..524eb5a 100644 --- a/Libraries/InAppSettingsKit/Models/IASKSettingsStoreUserDefaults.m +++ b/Libraries/InAppSettingsKit/Models/IASKSettingsStoreUserDefaults.m @@ -52,7 +52,7 @@ - (double)doubleForKey:(NSString*)key { return [[NSUserDefaults standardUserDefaults] doubleForKey:key]; } -- (int)integerForKey:(NSString*)key { +- (NSInteger)integerForKey:(NSString*)key { return [[NSUserDefaults standardUserDefaults] integerForKey:key]; } diff --git a/MainStoryboard_iPad.storyboard b/MainStoryboard_iPad.storyboard index 9e31432..76fd101 100644 --- a/MainStoryboard_iPad.storyboard +++ b/MainStoryboard_iPad.storyboard @@ -1,8 +1,7 @@ - + - - + @@ -10,7 +9,7 @@ - + @@ -22,7 +21,7 @@ - + @@ -39,7 +38,7 @@ - + @@ -302,7 +301,6 @@ \ No newline at end of file + diff --git a/MainStoryboard_iPhone.storyboard b/MainStoryboard_iPhone.storyboard index b6d0190..26925f3 100644 --- a/MainStoryboard_iPhone.storyboard +++ b/MainStoryboard_iPhone.storyboard @@ -1,16 +1,15 @@ - + - - + - + - + @@ -140,11 +139,11 @@ - + - - + + @@ -240,7 +239,6 @@ \ No newline at end of file + diff --git a/Protocols/TaskBag.h b/Protocols/TaskBag.h index 0a953c1..ccbe92b 100644 --- a/Protocols/TaskBag.h +++ b/Protocols/TaskBag.h @@ -62,7 +62,7 @@ - (NSUInteger) indexOfTask:(Task*)task; - (NSArray*) tasksWithFilter:(id)filter withSortOrder:(Sort*)sortOrder; -@property (readonly) int size; +@property (readonly) NSUInteger size; @property (nonatomic, readonly) NSArray *tasks; @property (nonatomic, readonly) NSArray *projects; @property (nonatomic, readonly) NSArray *contexts;