Controls the use of Objective-C keywords.
#pragma objective_c on | off | reset
If you enable this pragma, the compiler lets you use the following additional objective C keywords:
| @class | @def | @encode |
| @end | @implementation | @interface |
| @private | @protocol | @protected |
| @public | @selector | bycopy |
| byref | in | inout |
| oneway | out |
The @protocol forward declarations are supported
This pragma does not correspond to any panel setting. To check this setting, use __option (objective_c), described in Checking Settings.
By default, this setting is automatically enabled when a file’s extension is “.m” or “.pchm”. This setting and #pragma cplusplus on are automatically enabled when a file's extension is “.mm”, “.M”, or “.pchmm”.