Puder, Arno and D’Silva, Spoorthi (2013) Mapping Objective-C API to Java. In: Mobile Computing, Applications, and Services. 4th International Conference, MobiCASE 2012, Seattle, WA, USA, October 11-12, 2012. Revised Selected Papers.
18488.pdf
Download (288kB)
Abstract
Apple champions the use of Objective-C for iOS development and has prohibited the use of virtual machines in the past. In previous work we have shown how Java can be used as an alternative programming language for iOS applications. We described a byte code-level cross-compiler that translates Java-based applications to portable C code to circumvent this legal restriction. A major challenge not addressed in our previous work pose the significantly growing size of the iOS API, since every Objective-C based API needs to be exposed in Java. So far we required the necessary Java skeletons to be written by hand. Since its introduction in 2007, the iOS API has nearly doubled in size. Considering the size of the iOS API this approach does not scale. In this paper we describe an API mapping tool that can generate the required Java skeletons by parsing Objective-C header files. Emphasis is placed on mapping Objective-C’s dynamically typed API to strongly typed API in Java.
| Item Type: | Conference or Workshop Item (UNSPECIFIED) |
|---|---|
| Uncontrolled Keywords: | API Mapping, Objective-C, Java, iOS |
| Date Deposited: | 04 Mar 2026 10:01 |
| Last Modified: | 20 Nov 2026 11:03 |
| URI: | https://eprints.eai.eu/id/eprint/10101 |
