You are on page 1of 6

Meh. J. Sci, Tech. Vol. 2(1), 26-31, 2022 https://doi.org/10.52861/mjst.2022.2.1.

6
http://mckru.edu.pk/ojs

Research on the Development of iOS Applications

Abida Shar1*, Sajida Naz Shar2, Fida Shar2, Farhan Ali Surahio2

1
Department of Computer Sciences, Mir Chakar Khan Rind University Sibi Balochistan
2
Shah Abdul Latif University, Khairpur Mirs, Sindh, Pakistan
Corresponding Email: abdia.sukkur@gmail.com
Article Received 01-01-2021, Revised 20-01-2021, Accepted 10-02-2021.
Abstract
In this paper, tried to introduce features of iPhone Operating System (iOS) application and
give an elaborated description of iOS infrastructure from the prospective of developers. For this, an
easy audio media player provided as instance to demonstrate the fundamental working process of
iOS application components. This paper could provide better guidance to knowing the operation
mechanism of iOS applications and to developing application on iOS platform.
Keywords—iOS operating system, framework application, Darwin kernel

Introduction browser, Google chrome or Mozilla Firefox with


Application of iOS framework elaborated the some additional efforts [4]. iOS provides better
common structure of program in the particular and effective security than other open source mo-
domain. Effective ly, an interface of an applica- bile system like android that are very familiar
tion and integrated as set of abstract classes as nowadays. iOS follows layered scheme, the archi-
well as instances. iOS is an operating system run- tecture of iOS have shown as Figure.1[3].
ning in iPad, iPhone, iPod etc [1]. It is based on The application layer is the location of all
kernel and deployed by the Apple Inc [2]. Unlike iOS applications including emails, address book
others personal computer (PC) operating system, (contacts), messages program, browser and oth-
it manages phone hardware, storage, power in- ers. All Apps are written using C and C++ pro-
dulgence and provides other technologies to im- gramming language.
plement its basic applications (Apps). In contrast Application interface layer describes iOS
to PC developed applications, there are few Apps interface and all Apps are based on iOS
things that are different in mobile iOS phone. In application interface thus, the iOS App interface
this paper, we introduced the fundamental infra- layer including;
structure and application interface of iOS, gives An extensible set of rich environment and
elaborated description of major and main struc- views that are used build Apps along with beauti-
ture of iOS Apps and the way of developing ap- ful friendly user environment, like buttons on
plications that based on iOS framework. StackPanel, embedded browser, grids and lists
etc.
Introduction of iOS Set of touch based inputs are managing by
iOS is an inclusive operating system based cocoa layer that enables these inputs and push-
on Darwin kernel also known as XNU. X refers notifications.
to Not Unix. It is 64 bit operating system trans- It supports to hand gestures and also part of
formed by ARM processor. Several versions like, cocoa layer categorized it into application inter-
iPhone.2, 3, 4 and 5 have been introduced along face layer for its better and transparent under-
with various rich features supported by iPhone4, standing.
iPod 3G etc. A development kit called SDK is Several animated scripts could be made
used and contains on interface and tools that fa- with Storyboard, it animates, once the phone un-
cilitate to develop, install and test Apps. Most of lock and live tiles are frequently changing images
Apps are writing in C, C++ programming lan- and its transitions via this Storyboard [5].
guages but, these days Swift programming lan- Media layer (ML) contains on audio/video
guage is also under consideration and rapidly and graphics technologies and it uses to imple-
used by developers [3]. Like others, gestures, ment media experience in iOS. Also, it supports
switches and sliders are used and web pages to apps to make a good quality sound
could be access with safari browser because, it is Libraries layers supports to set of C/C++
by default browser. iOS also supports to safari instructions and libraries that are used by the dif-

26
Meh. J. Sci, Tech. Vol. 2(1), 26-31, 2022 Shar et al.,
http://mckru.edu.pk/ojs

ferent components of the iOS and also supports to system that supports to drivers including, Blue-
the application interface. It also supports to tooth, display, Wi-Fi and others communication
SQLite classes and other graphic libraries like drivers. It is an abstract layer between the hard-
OpenGL etc. ware and software heap. The memory manage-
iOS Runtime includes the core libraries set ment, security service are the core services of this
and LLVM supports to compile and create .ipa layer. Furthermore, it interacts with the LLVM
file extension of the Apps for testing and also resolves the issues of threads
Kernel XNU is the core of the iPhone operating

Figure.1. shows Layered architecture of iOS


Llvm
tors. Time optimization, diagnostic in detail in-
It is compiler and use collection of modules. It formation and static analysis are also the features
is quite similar to traditional virtual machine and of LLVM. The position of the LLVM is given in
to do little bit same but having different mecha- Figure.2.Detailed submission guidelines can be
nism. LLVM is not an acronym itself but it is found on the author resources Web page. All au-
complete name of the project. It is capable to thors are responsible for understanding these
static and dynamic compilation along with pro- guidelines before submitting their manuscript.
gramming language. The core libraries of the
LLVM gives modern and target independent code Application component of iOS
optimizer with code generation support for sever- The life cycle of iOS Apps comprises the series
al famous processors. It is faster than GCC (com- of events that takes place between the launch and
piler used in GNU operating system) [6]. It uses termination of Apps. iOS Apps launches by click-
Clang front end to parse code and move it into an ing on the home screen icon and after tapping
interim format and then the code generation layer occurring, the system shows some transitional
which known as back end moves that formatted graphics as well as proceeds to launch an App by
interim into final machine code producing. calling its main () function. From the perspective
Xcode(Integrated development environment in of actions, the volume of the instantiate work is
MacOS) also includes the LLVM compiler for handed over to user interface Kit (UIKIT), which
maximum compatibility. The back end of the instantly loads the App main nib file (special re-
LLVM takes advantage of advanced code genera

27
Meh. J. Sci, Tech. Vol. 2(1), 26-31, 2022 Shar et al.,
http://mckru.edu.pk/ojs

source type file use to store interfaces in iOS) and UIKit also posts events to Apps custom event
prepares the event loops. An important point, the handlers that are views and view controller. The
Apps life cycle is sending messages through the Apps of iOS follows Model View View Control-
UIKit to the App delegate instance to let it know ler (MVVC) pattern architecture. The Figure.3
what is actually happening. While the event loop shows iOS App life cycle activity [6].

Figure.2. displays the position of LLVM

Figure.3. displays iOS app life cycle activity.


iOS services runs in the background and also can activities or to work for remote process without
say it is a component that performs long running having interface. The actions can be binding a

28
Meh. J. Sci, Tech. Vol. 2(1), 26-31, 2022 Shar et al.,
http://mckru.edu.pk/ojs

service that is running. It always runs into the that detects automatically silence and to keep
main function of an App. screen dark. Now user can subscribe by creating
Likewise, particular permissions are required profile and it is a new organizing way of sub-
to run Apps in the background without being de- scription [7].
layed or suspended. These long running jobs also Related Work
required particular permission to run in the iOS It has not been found any precise way to intro-
background including duce iOS. Despite, only one contribution found
An audible content will be played by App to regarding to mobile operating system platform
user during in the background just as media play- survey proposed by [8]. Other all contributions
er App. are giving immersive information about the other
All the times users are informed kept loca- perspectives of the iOS that are discussed along
tion like navigation App that supports to voice with suitable examples.
over internet protocol, newscast Apps that need to Audio Media Player as an Instance
download them and process new contents. Here is a simple audio music player; some
App receives regular updates from external important components of iOS have been ex-
accessories that implement these services for plained in this instance. AudioMusicInterface is
support and use system interface to implement an object of player activity interface type and it
related aspects of services. Sometimes it’s system provides an interface to users for communication
interface that really prevents Apps from being with services used to play music in background.
delayed or suspended. MPMediaPlayerController is a class that manages
cPersistant is SQLite function (another ser- audioplayback files. MPMediaIns is used as an
vice) wrapper following by C programming lan- object of MPMediaPlayerController, it instantiate
guage used as application template for database its object and performs a query for media that get
access and its routines that are nuisance when an array of MPMediaItem class. Thus,
written code as whole and each call involves with MPMediaPlayerController sets queue with the
some steps including, SQL statement preparation, array obtain in MPMediaItems. After following
SQL format for string, execute and release the these steps, play,pause, next etc commands can be
resources [3]. issued. The state of play items or external volume
can be increase or decrease via these instances.
New iOS Application Features We used Model View Controller (MVC) architec-
Several new features recently introduced by ture to develop audio music player with the help
Apple Inc. these days, iOS 11 provides more bet- of Xamarin Studio under the C++ language.
ter way to organize photos either portrait or land- Model helps to store data, whereas, view provides
scape than precede. Moreover, it increases the facility to design an interface of iOS App. Thus,
learning capabilities on device machine and fo- controller interacts with all the actions controls
cused on new artificial intelligence and provided behavior of an App. Three classes’ files have been
voice for Siri professional capabilities. Thus, the used entitled with MusicMainFile, MusicAudio-
camera integrated effects and other illustration PlayService and MusicInfo. While developing
activities also extended by the company. The core some special resource permission already given
features are given below with short description into property list (PList) file because iOS 11 does
Multitasking gives customable dock service for not support to several audio extensions. We locate
rapid option access. the media item and instantiate an MPMediaItem
Increased high quality motion sensors and a kit and call a dictionary with media item attribute.
known as arkit permits to programmers to tap to Thus, we predicate three sets like Album, Title
vision technologies. and Artist. Next, we created s set of three predi-
Included true tone flash that shot and looks more cates and then we generated a media query that
professional. Live photos with loop bounce effect allocates and filters the predicates. An interactive
are also made more beautiful and attractive. mode of App is given in Figure.4.
Do not disturb while driving feature is increased

29
Meh. J. Sci, Tech. Vol. 2(1), 26-31, 2022 Shar et al.,
http://mckru.edu.pk/ojs

Figure.4. shows interactive mode of App

Results Only one time, audio music player shows an


Many media files with different exten- exception that could not identify the reason.
sions are player with this audio music player Thus, 24 music files have played during test-
along with different file duration. Almost we ing, their extensions and duration is given in
got positive results while playing music files. Table.1.

Table.1. shows media files duration and format

Particular Qty Format Duration Played Not


Played
Naats 12 .Mp3 05 to 11 12 0
min
Songs 12 .Wav,Mp3 03 to 09 11 1
min
Conclusion framework with its principals and services. In the
iOS is a better operating system that mostly end, we provided an audio music player as an
found in iPhone mobile phone(s). We provided a instance to illustrate the working mechanism.
detailed introduction of iOS App interface and

Thus, some front screen of the audio music player and playlist screen is given in Figure.5.

30
Meh. J. Sci, Tech. Vol. 2(1), 26-31, 2022 Shar et al.,
http://mckru.edu.pk/ojs

Figure.5 shows audio music player


References [5] https://www.apple.com/newsroom/20
[1] Apple.I, iOS security. White Paper, March, 17/06/ios-11-brings-new-features-to-
1989, Pp.1-68. iphone-and-ipad-this-fall.
[2] Ole. Henry, Douglas.C, [6] https://ramilcano.wordpress.com/2011/
OS X and iOS Kernel 01/10/the-application-life-cycle/#more-
Program- 134
ming,,Apress,April. [7] http://www.dummies.com/web-design-
[3] Boomgar, Supporting Apple iOS Devices, development/mobile-apps/basics-of-states-
pp. 271-350. in-the-lifecycle-of-an-ios-app
[4] https://developer.apple.com/library/content/d [8] Okediran O. O, Mobile Operating Systems
ocumentation/Miscellaneou and Application Development Platforms: A
s/Conceptual/iPhoneOSTechOverview/In Survey, Advanced Networking and Applica-
troduction/Introduction.html#// ap- tions, Volume.6, No.1, Pp.2195-2201,2014.
ple_ref/doc/uid/TP40007898-CH1-SW1

31

You might also like