- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
-(BOOL) wasChanged
{
BOOL a,b,c,d,e,f;
if (dueDate == nil) {
a = (_task.dueDate == nil?YES:NO);
}
else
a = [dueDate isEqualToDate:_task.dueDate];
if (reminderTime == nil) {
b = (_task.reminderTime == nil?YES:NO);
}
else
b = [reminderTime isEqualToDate:_task.reminderTime];
c = (importance == _task.importance?YES:NO);
d = (reccurentType == _task.reccurentType?YES:NO);
e = [list isEqualToString:_task.parentID];
f = [body isEqualToString:_task.body];
if (a && b && c && d && e && f) {
return NO ;
}
return YES;
}