Comparison of Objective-C and Swift on the example of a mobile game


Mobile applications for the iOS platform can be developped using the Swift and Objective-C languages. The article presents a comparison between these languages based on a created mobile game. The structure and performance of these technologies were examined. Based on three devices, languages have been tested. Aspects such as RAM load, time between views, time to save data to the database and time to save data to file were tested as a part of the analysis. Two research hypotheses have been put forward: "Swift has a better performance than Objective-C" and "Swift has a simpler structure than Objective-C". The results obtained confirm that Swift is more efficient than Objective-C. Research into the structure of codes has proven that the newer language has a simpler structure than its predecessor.


Swift; Objective-C; performance; structure

The History of iOS, from Version 1.0 to 13.0, [16.06.2020].

About Swift, [16.06.2020].

C. G. Garcia, J. P. Espada, B. C. Pelayo G-Bustelo, J. M. Cueva Lovelle, Swift vs. Objective-C: A New Programming Language,Regular Issue, [30.06.2020].

K.E. Sienkiewicz, E. Łukasik, Porównanie aplikacji mobilnej w językach Swift i Objective-C, Journal of Computer Sciences Institutes, [30.06.2020].

V. M. Santana, P. Centoze, Seciurity mechanisms and analysis for insecure data storage and unintended data leakage for mobile applications, International Journal of Computer and Technology [30.06.2020].

K. Gut, M. Skublewska-Paszkowska, E. Łukasik, J. Smołka, Comparison of programming languages on the iOS platform in terms of performance, IAPGOŚ 0bbfbb45-b7bf-4703-91aa-169a26d70236 [30.06.2020].

Xcode, [16.06.2020].

SpriteKit, documentation/spritekit/ [16.06.2020].

M. Lassoff, T. Stachowitz, Swift Fundamentals: The Language of iOS Development. 2014.

D. Chisnall, Objective-C Phrasebook, Second Edition. 2012.


Published : 2020-09-30

Banach, K., & Skublewska-Paszkowska, M. (2020). Comparison of Objective-C and Swift on the example of a mobile game. Journal of Computer Sciences Institute, 16, 305-308.

Karolina Banach
Maria Skublewska-Paszkowska