title: How to add a number of weeks to an NSDate?
body: <p>I have in the past used the below function to add on a specific time interval using <code>NSDateComponents</code> to an existing date. </p>
  
  <pre><code>(NSDate *)dateByAddingComponents:(NSDateComponents *)comps
                            toDate:(NSDate *)date
                           options:(NSCalendarOptions)opts
  </code></pre>
  
  <p>From iOS8 the week value is deprecated for <code>NSDateComponents</code>, which means I can't achieve what I want to do: generate a new <code>NSDate</code> by adding a certain number of weeks to a given <code>NSDate</code>. </p>
  
  <p>Any help would be greatly appreciated. </p>