title: Can swift code be used in Codename One native code instead of Objective-C
body: <p>I need to insert native code in my Codename One app. I am a completely newbie in iOS programming so I need to learn Objective-C. However I read that Swift was the successor of Objective-C and I would feel more comfortable with Swift syntax. But I don't know if Swift is supported in Codename One. While looking at iOS source code generated by Codename One, although I am not 100% sure, it looks like C code (I may be wrong).</p>
  
  <p>On his blog Shannah (from Codename One) <a href="http://sjhannah.com/blog/?p=398" rel="nofollow">wrote that</a> </p>
  
  <blockquote>
    <p>Codename One currently compiles everything down to plain old C code so we would be largely unaffected by such a change – although there would be some native portions that use Objective-C that would need updating. Luckily, if you’re a Codename One user, you don’t need to concern yourself with these details because you are working in Java.</p>
  </blockquote>
  
  <p>I don't get it clear that's why I am asking whether it is possible to use Swift code in Codename One native code ? </p>
  
  <p>Thanks a lot for helping me clarifying this topic!</p>
  
  <p>Cheers</p>