I currently have this code below to see if the day has elapsed, but it doesn\'t seem to be working. Have I coded this correctly?
NotificationCenter.defaul
I think the way you registered observer is not correct. Please try the below and check.
NotificationCenter.default.addObserver(self, selector:#selector(self.calendarDayDidChange(notification:)), name:NSNotification.Name.NSCalendarDayChanged, object:nil)