title: NSYearCalendarUnit deprecated in iOS
body: <p>I'm using <code>NSYearCalendarUnit</code> <code>NSMonthCalendarUnit</code> <code>NSDayCalendarUnit</code> but unfortunately, these  "Calendar Units" are reported as deprecated first in <code>IOS 8.0</code>.
  What's the alternative of them, or how do I avoid these warnings.</p>
  
  <pre><code>unsigned unitFlags = NSYearCalendarUnit | NSMonthCalendarUnit |  NSDayCalendarUnit;
  </code></pre>