Can I use swift in coding?

Can I use swift in unreal engine 4?

I do not think you can use Swift. UE4 runs on PC, Mac, IOS, Android, xBox(360, xBoxOne), PS4 and so on. Swift only runs on Mac and ISO. This is why you should use C++

sorry for the nercoanswer but its not really true about swift. It can be compiled for any OS. The issue is only about bridging the existing C++ code from UE4 to swift, which is pretty hard to do in a generic way, while I believe it’s possible in some partial stuff.