Okay so i have a problem. In xcode every time a full day passes i want the label to change. For instance if the time is 24:00:00 then i want the label to change from Monday to Tuesday; and then from tuesday to Wednesday and so on and so forth. This is all i have so far
if ([timev2.text isEqualToString: @"24:00:00"]) {
[number setText:@"Tuesday"];
I can't use the statement
if([timev2 isEqualToString: @'48:00:00']){
[number setText:@"wednesday"];
Because I'm using NSDaterFormatter
.
Can anyone tell me how to do this or how to edit my code to make it work?