text/x-objcsrc
Objective-C source code
| Description | Objective-C source code |
|---|---|
| File extensions | .m |
| Based on | text/x-csrc |
| Signature (magic bytes) | 23 69 6D 70 6F 72 74 (#import) |
Frequently asked questions
What is the MIME type text/x-objcsrc?
text/x-objcsrc denotes “Objective-C source code”.
Which file extension does text/x-objcsrc use?
Files of type text/x-objcsrc usually end in .m.
How does a web server serve text/x-objcsrc correctly?
With the header Content-Type: text/x-objcsrc. In nginx: types { text/x-objcsrc m; }; in Apache: AddType text/x-objcsrc .m.
Which formats are based on text/x-objcsrc?
Formats based on it include Objective-C++ source code.
Formats based on it
- text/x-objc++src – Objective-C++ source code