summaryrefslogtreecommitdiff
path: root/platform/iphone/SCsub
diff options
context:
space:
mode:
authorSergey Minakov <naithar@icloud.com>2020-10-01 22:18:39 +0300
committerSergey Minakov <naithar@icloud.com>2020-10-02 15:04:51 +0300
commit3cd1cb53a0bccecf5c3d429255d41987d16d4727 (patch)
treeb284f0ea092705a6675e0f2c71b752b1315f91a1 /platform/iphone/SCsub
parent19f72beebbf1d233eb2dd345ed70a5ac143e2353 (diff)
iOS: Refactoring
Enabled ARC for iOS. Weakify/Strongify macros for objc blocks. Removed old version checks. Specific types for ObjC++ modules to exclude unneeded bridging. Separate DeviceMetrics class for device specific data. Replaced old/deprecated functionality.
Diffstat (limited to 'platform/iphone/SCsub')
-rw-r--r--platform/iphone/SCsub1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/iphone/SCsub b/platform/iphone/SCsub
index 848fd9713a..ddf5eeea80 100644
--- a/platform/iphone/SCsub
+++ b/platform/iphone/SCsub
@@ -19,6 +19,7 @@ iphone_lib = [
"display_layer.mm",
"godot_view_renderer.mm",
"godot_view_gesture_recognizer.mm",
+ "device_metrics.m",
]
env_ios = env.Clone()