Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

initialization fixed

  • Loading branch information...
commit 56f44c8b1394af079430c8e9323aa33f3cd289e6 1 parent d0f5d4f
Stas Sviridenko authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  MyDay/MasterViewController.m
View
2  MyDay/MasterViewController.m
@@ -116,6 +116,8 @@ - (void)insertNewObject:(id)sender
anHour.hour = 1;
NSDate *preferredDate = [gregorian dateByAddingComponents:anHour toDate:creationDateNoMins options:0];
[newManagedObject setValue:preferredDate forKey:@"date"];
+
+ [newManagedObject setValue:[NSNumber numberWithBool:NO] forKey:@"completed"];
[newManagedObject setValue:@"" forKey:@"title"];
Please sign in to comment.
Something went wrong with that request. Please try again.