Macro

OBJC_ROOT_CLASS

If you define an Objective-C root class, you receive a compiler error indicating that the class is defined without specifying a base class. You can avoid this compiler error by preceding the definition of the root class (that is, before the @interface directive) with OBJC_ROOT_CLASS.

Declaration

#define OBJC_ROOT_CLASS

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software