Comparative analysis of UIKit and SwiftUI frameworks in iOS system


Abstract

The paper concerns a comparison of SwiftUI and UIKit frameworks, used in iOS application development. SwiftUI was introduced in 2019 as a successor to UIKit as a main tool for creating application views. The purpose of this article is to compare the time performance of these two frameworks. Six testing applications have been implemented for the research, 2 in each framework. The software was complementary. The defined thesis "SwiftUI is more time efficient for applications with data collection and many filled text fields" was proved.


Keywords

SwiftUI; UIKit; time performance

App Revenue Data (2021), https://www.businessofapps.com/data/app-revenues/, [02.05.2021].

B. Cahill, UI Design for iOS App Development: Using SwiftUI, Apress, 2021.

J. deVilla, E. Ganim, M. Hollemans, iOS Apprentice (Eighth Edition): Beginning iOS Development with Swift and UIKit, Razeware LLC, 2019.

K. Gut, M. Skublewska-Paszkowska, E. Łukasik, J. Smołka, Comparison of programming languages on the iOS platform in terms of performance, IAPGOŚ 7(3) (2017) 33-36, https://doi.org/10.5604/01.3001.0010.5211.

K. Banach, M. Skublewska-Paszkowska, Comparison of Objective-C and Swift on the example of a mobile game, Journal of Computer Sciences Institute 16 (2020) 305-308, https://doi.org/10.35784/jcsi.2058.

S. S. Afjehei, T. P. Chen, N. Tsantalis, iPerfDetector: Characterizing and detecting performance anti-patterns in iOS applications, Empirical Software Engineering 24 (2019) 3484-3513, https://doi.org/10.1007/s10664-019-09703-y.

I. Kulesovs, iOS Applications Testing, Environment. Technology. Resources. Proceedings of the International Scientific and Practical Conference 3 (2015) 138-150, https://doi.org/10.17770/etr2015vol3.187.

UIKit, https://developer.apple.com/documentation/uikit, [02.05.2021].

F. Farook, M. Hollemans, UIKit Apprentice, Razeware LLC, 2020.

Xcode, https://developer.apple.com/xcode/, [02.05.2021].

Download

Published : 2021-09-30


Wiertel, P., & Maria Skublewska-Paszkowska. (2021). Comparative analysis of UIKit and SwiftUI frameworks in iOS system. Journal of Computer Sciences Institute, 20, 170-174. https://doi.org/10.35784/jcsi.2662

Piotr Wiertel  piotr.wiertel1@pollub.edu.pl
Lublin University of Technology  Poland
Maria Skublewska-Paszkowska 
Lublin University of Technology  Poland