mirror of https://github.com/godotengine/godot
This applies our existing style guide, and adds a new rule to that style
guide for modular components such as platform ports and modules:
Includes from the platform port or module should be included with relative
paths (relative to the root folder of the modular component, e.g.
`platform/linuxbsd/`), in their own section before Godot's "core" includes.
The `api` and `export` subfolders also need to be handled as self-contained
(and thus use relative paths for their "local" includes) as they are all
compiled for each editor platform, without necessarily having the api/export
matching platform folder in the include path.
E.g. the Linux editor build will compile `platform/android/{api,export}/*.cpp`
and those need to use relative includes for it to work.
|
||
|---|---|---|
| .. | ||
| api | ||
| doc_classes | ||
| export | ||
| README.md | ||
| SCsub | ||
| app_delegate.h | ||
| app_delegate.mm | ||
| detect.py | ||
| device_metrics.h | ||
| device_metrics.m | ||
| display_layer.h | ||
| display_layer.mm | ||
| display_server_ios.h | ||
| display_server_ios.mm | ||
| godot_app_delegate.h | ||
| godot_app_delegate.m | ||
| godot_ios.mm | ||
| godot_view.h | ||
| godot_view.mm | ||
| godot_view_renderer.h | ||
| godot_view_renderer.mm | ||
| ios.h | ||
| ios.mm | ||
| joypad_ios.h | ||
| joypad_ios.mm | ||
| key_mapping_ios.h | ||
| key_mapping_ios.mm | ||
| keyboard_input_view.h | ||
| keyboard_input_view.mm | ||
| logo.svg | ||
| main.m | ||
| os_ios.h | ||
| os_ios.mm | ||
| platform_config.h | ||
| tts_ios.h | ||
| tts_ios.mm | ||
| view_controller.h | ||
| view_controller.mm | ||
| vulkan_context_ios.h | ||
| vulkan_context_ios.mm | ||
README.md
iOS platform port
This folder contains the C++, Objective-C and Objective-C++ code for the iOS platform port.
See also misc/dist/ios_xcode folder for the Xcode
project template used for packaging the iOS export templates.
Documentation
- Compiling for iOS
- Instructions on building this platform port from source.
- Exporting for iOS
- Instructions on using the compiled export templates to export a project.