Keywords: classdesc

Next: Objects creation in the Up: C++ model Objective-C design Previous: Objective-C basics Contents Index

### File conventions used

For an object to be used in both the C++ and the Objective-C environment:

- The .h file extension is reserved for the C++ header file and .mh file extension is used for the Objective-C header file.
- The .o file extension is reserved for the compiled C++ object file and the .mo file is used for the compiled Objective-C object file.
- The .cd file is the Classdesc output Class Description file from the given object .h file. This file is used for the compilation of Objective-C translator (see Section 10.2.6).

Figure 4: File conventions used