I want to use #pragma (in Xcode) to suppress the warning:
warning: instance method \'-someMethod\' not found (return type defaults to \'id\'
See: https://stackoverflow.com/a/34043306/89035 for a #pragma to suppress "instance method not found" warnings.
While it seem that a true #pragma solution to this does not exist turning off the warnings in individual files can be accomplished by use of the -w switch.
NB: This solution is for Xcode 4.2 and above
-w switch to the file(s) you wish to suppress warnings on