I want to check if the first day of the week for a user is Monday or Sunday to perform some actions with the calendar. Is it possible to determinate that using NSCalendar
or any other way?
It's just:
Swift:
Calendar.current.firstWeekday
Obj-C:
[NSCalendar currentCalendar].firstWeekday
With 1 = Sunday.