UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LaunchCPPToSwift.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#if PLATFORM_MAC
6
7#include "../../../Launch/Public/Mac/UEAppDelegate.h"
8
9void KickoffEngine();
10
11#else // mobile
12
13// define this so we disable C++ etc bits swift doesn't beed
14#define SWIFT_IMPORT
15#include "../../../ApplicationCore/Public/IOS/IOSAppDelegate.h"
16#include "../../../ApplicationCore/Public/IOS/IOSView.h"
17
18#endif
19
20
21// setup the kickoff function
22#if PLATFORM_VISIONOS
23
24#import <CompositorServices/CompositorServices.h>
26
27#else
28
29void KickoffEngine();
30#endif
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
void KickoffEngine()
Definition LaunchIOS.cpp:749