.mm Objective-C++ source code
Text & source code
| MIME type | text/x-objc++src text/x-troff-mm |
|---|---|
| Description | Objective-C++ source code |
| Category | Text & source code |
| Based on | text/x-c++src, text/x-objcsrc |
Frequently asked questions
What is a .mm file?
The .mm extension is used for several formats: Objective-C++ source code (text/x-objc++src) and Troff MM input document (text/x-troff-mm).
How do I open a .mm file?
With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.
How can you tell a genuine .mm file?
No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.mm shows the guessed type.
Which format is .mm based on?
Technically a .mm file is a subtype of “C++ source code” (text/x-c++src), so programs for that base format can often read it too.
Which MIME type belongs to .mm?
The MIME type is text/x-objc++src. In the Apache web server: AddType text/x-objc++src .mm; in nginx: types { text/x-objc++src mm; }.