I need to insert my own code into my Codename One app. I am completely new to iOS programming, so I need to learn Objective-C. However, I read that Swift was the successor to Objective-C, and I would feel more comfortable with the Swift syntax. But I do not know if Swift is supported in Codename One. If you look at the iOS source code created by Codename One, although I'm not 100% sure, it looks like C code (I could be wrong).
On her blog, Shanna (from Codename One) wrote that
Codename He will compile everything down to plain old C code, so we wonβt be much affected by this change - at least there were some native parts that use Objective-C that need updating. Fortunately, if you are a Codename One user, you do not need to worry about these details because you are working in Java.
I donβt understand why I am asking if it is possible to use Swift code in Codename One code?
Thanks so much for helping clarify this topic!
Greetings
ios swift codenameone native-code
HelloWorld
source share