Syntax is provided to mark methods as deprecated:
@interface SomeClass |
-method __attribute__((deprecated)); |
@end |
or:
#include <AvailabilityMacros.h> |
@interface SomeClass |
-method DEPRECATED_ATTRIBUTE; // or some other deployment-target-specific macro |
@end |
This syntax is available only in Objective-C 2.0 and later.
Last updated: 2008-02-05