A method identified as deprecated has been superseded and may become unsupported in the future.
Returns a new NSDate object that is set to a given number of seconds relative to the receiver. (Deprecated in Mac OS X v10.6. This method has been replaced by dateByAddingTimeInterval:.)
- (id)addTimeInterval:(NSTimeInterval)seconds
The number of seconds to add to the receiver. Use a negative value for seconds to have the returned object specify a date before the receiver.
A new NSDate object that is set to seconds seconds relative to the receiver. The date returned might have a representation different from the receiver’s.
NSDate.h© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-08-17)