Hi,
I'm working on a Reminder app. During the part of the code when it saves the reminder with variables I got a few errors. I don't really understand them or understand why they appear, would anyone be able to help me.
- (IBAction)MASaveReminder:(UIButton *)sender {
[_MAReminderSaveIndicator startAnimating];
NSString *NewReminderName = [_MANewReminderName text];
NSString *NewReminderNameDate = [_MADatePicker date]; //Incompatible pointer types initalizing 'NSString *' with an expression of type 'NSDate * _Nullable'
[_MAReminderSaveIndicator stopAnimating];
if (_MANotificationSwitch (isOn) { //Called object type * _Nullable' is not a function or function pointer
NSNumber *NewReminderNotification = @1;
} else {
NSNumber *NewReminderNotification = @0;
}
}
@end