Now I know how to figure out why my app is crashing, could someone help me in fixing this crash please.
Would this do the job ? THank you
switch tempDayHolder
{
case "Monday":
outputWeekdays.append(2)
case "Tuesday":
outputWeekdays.append(3)
case "Wednesday":
outputWeekdays.append(4)
case "Thursday":
outputWeekdays.append(5)
case "Friday":
outputWeekdays.append(6)
case "Saturday":
outputWeekdays.append(7)
case "Sunday":
outputWeekdays.append(1)
default :
outputWeekdays.append(1)
}
Apologies if this is a basic question. I am a newbie and learning things from online tutorials and is the first time I've encountered this issue.
Ok so I connected the phone where the crash is happening, went into xcode>Devices and this is the crash log. Any pointers from here would be highly appreciated :