Not sure - out of curiosity, is it working? This method is actually declared in a category on NSDate, it is contained in the header file NSCalendarDate.h, not in the NSDate.h header file.
If you've done:
Code:
#import <UIKit/UIKit.h>
It's possible the compiler is never seeing NSCalendarDate.h. You can most likely suppress the warning by doing either:
Code:
#import <Foundation/Foundation.h>
or
Code:
#import <Foundation/NSCalenderDate.h>
Or, if it's working, you can just leave it as is; it's just a warning.