title: NSHourCalendarUnit and NSMinuteCalendarUnit are deprecated. How to split up hours and minutes?
body: <p>I have implemented NSCalendarUnit in my project to split hours and minutes . Here is the code..</p>
  
  <pre><code>[calendar components:( NSHourCalendarUnit | NSMinuteCalendarUnit |  NSSecondCalendarUnit ) fromDate:[df dateFromString:[NSString stringWithFormat:@"%@",workendTime_txtfld.text]]];
  </code></pre>
  
  <p>In IOS8, <code>NSHourCalendarUnit</code>,<code>NSMinuteCalendarUnit</code>,<code>NSSecondCalendarUnit</code> these all are deprecated now how to handle this issue. Kindly let me know the solution for this issue..</p>