The documentation for NSDateComponents says that as of iOS 7, week is deprecated and to use weekOfDay or weekOfYear instead.
If I want to get the same logic as I got when I used week
, which of these should I use?
I have used this in many places in my code, so thinking through each scenario is cumbersome. If there was one enum that mapped to the same thing that week originally did, it would save a lot of time.