[NSDate] Bug in dateByAddingTimeInterval: on Mac OS X 10.5
According to the NSDate.h header: - (id)dateByAddingTimeInterval:(NSTimeInterval)ti AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; Problem is when I run the following code on Mac OS X 10.5 on a PowerMac G5, I get the result listed below. #import Foundation/Foundation.h int main (int argc, const
Re: [NSDate] Bug in dateByAddingTimeInterval: on Mac OS X 10.5
Hi Stephane. I believe that the header is mistaken. According to the documentation, dateByAddingTimeInterval: is Available in Mac OS X v10.6 and later.