Change the NSString with NSNumber and add some JavaScript

This commit is contained in:
Alexandre Cloutier
2014-06-11 10:24:04 -04:00
parent 43ac57b671
commit de2ee2322a
5 changed files with 33 additions and 33 deletions
+3 -3
View File
@@ -92,8 +92,8 @@ _intValueFromHex (NSString *hexString)
SOGoAppointmentFolder *folder;
NSMutableDictionary *calendar;
unsigned int count, max;
NSString *folderName, *fDisplayName, *fActiveTasks;
NSNumber *isActive;
NSString *folderName, *fDisplayName;
NSNumber *isActive, *fActiveTasks;
if (!calendars)
{
@@ -122,7 +122,7 @@ _intValueFromHex (NSString *hexString)
forKey: @"owner"];
fActiveTasks = [folder activeTasks];
if (fActiveTasks == nil)
fActiveTasks = @"";
fActiveTasks = 0;
[calendar setObject:fActiveTasks forKey:@"activeTasks" ];
[calendars addObject: calendar];
}