title: iPhone iOS 4 addTimeInterval deprecated
body: <p>I'm using <code>addTimeInterval</code> for creating local notification but it seems that it is now deprecated (iOS 4).</p>
  
  <p>My code:</p>
  
  <pre><code>localNotif.fireDate = [now addTimeInterval:timeInterval];
  </code></pre>
  
  <p>Xcode's warning:</p>
  
  <pre><code>'addTimeInterval:' is deprecated (declared at /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h:27)
  </code></pre>
  
  <p>What should I use instead?
  Thanks. </p>