Objective-c Change date format : I have a date like so:

    22-04-2016 8:00:00 AM

how do I change the format to `04-22-2016 8:00:00 AM`

I have tried the following:

    NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init];
            [dateFormat setDateFormat:@"MM-dd-yyyy"];
            
            NSLog(@"%@", [dateFormat dateFromString:[cell scheduledDate]]);

but this returns null :( how can I change the format of this string? `[cell scheduledDate]` is a string.