Last Updated: February 25, 2016
·
1.272K
· acoomans

Deprecate a method in iOS

Mark a method as deprecated:

__attribute__((deprecated))

and starting from gcc 4.5:

__attribute((deprecated(use method XXX instead)))