The documentation for NSDateComponents says that with iOS 7, week is deprecated and use weekOfDay or weekOfYear instead.
If I want to get the same logic as when I used it week, which one should I use?
I have used this in many places in my code, so analyzing each scenario is cumbersome. If there was one transfer, compared with the same as last week, this would save a lot of time.
source
share