1 / 9

Apple's Swift for Android Development

ustry Report 2015Consistent with our stated policy of making available the best research material from across the globe to our ever-growing list of erudite c

SohoHollis
Télécharger la présentation

Apple's Swift for Android Development

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Apple's Swift for Android Development

  2. Apple's Swift

  3. Apple’s Swift Language Apple’s Swift Language which was intended only for iOS and OS X apps will become available for Android development as Apple has decided to open source Swift.

  4. LLVM LLVM actually generates assembly for an imaginary machine instead of generating a code for specific architecture.

  5. Swift Compiler ● The Swift compiler is asked to generate LLVM-IR (Intermediate Representation); ● The LLVM also generates the ARM ELF file format. ● Later, the Android Native Development Kit (NDK) which lets you use native code languages generates binary linking against the generated object file.

  6. SwiftCore Library ● The biggest issue in using Swift for Android app development is the missing SwiftCore library. ● But it has to be noted that, not all the Swift code requires SwiftCore Library.

  7. Apple’s Open-Sourcing Effort Apple to include SwiftCore in its Swift outsourcing effort. If it is included, getting a SwiftCore library on Android will just be a matter of rebuilding it.

  8. Swift Code The Swift code was written in Apple’s Xcode IDE. Eventually, the code was moved to Android Studio IDE to complete the build process and produce an Android APK.

  9. As a programming language Swift is very much similar to Java and C#. So it is not that hard to get Swift to compile towards Android. Though, it’s not very clear that Swift is better than Java, it certainly has some newer constructs.Swift code. Fortune Softtech | Blog | News

More Related