title: Objective-C timespan
body: <p>In C#, if I wanted to parse out a string into a date and timespan, I'd do something similar to the following:</p>
  
  <pre><code>String input = "08:00";
  DateTime time;
  if (!DateTime.TryParse(input, out time))
  {
      // invalid input
      return;
  }
  
  TimeSpan timeSpan = new TimeSpan(time.Hour, time.Minute, time.Second);
  </code></pre>
  
  <p>My Google-Fu has been less than desirable in finding a way to convert this to Objective-C.</p>
  
  <p>Any suggestions?</p>