The WebKit's WebHistory API segregates its items by date. So when the day changes, I need to reassign any "Yesterday" and/or "(Earlier) Today" (or "Tomorrow"!) labels. Is there a NSNotification for this? Or do I have to rely on NSTimer or -performSelector:withObject:andDelay:
or some other technique?
(Of course, the alternate methods don't automatically handle back-dating.)
Addendum
As of this writing there are two answers, but there was a third that was later removed. It had the most comprehensive response. It referred to WWDC-2013 Session 227, which discusses undocumented additions to the Date/Time system in Mavericks. There is improved checking for Today and a notification for a day change. You can check out two-thirds down the Foundation Release Notes for OS X v10.9.
(If the deleted-answer's owner wants to put something back, I'll transfer the answer flag, if possible.) I got my Mac in late 2013 and immediately upgraded it to Mavericks, so I don't care about pre-Mavericks systems and Mavericks-only APIs are OK.