Apple iOS: Technical Seminar Report On
Apple iOS: Technical Seminar Report On
Belgaum
Apple iOS
Chethan H A (4GH08CS010)
Mr.Annaiah.HB.E.,M.T ech.,
Assistant Professor
Department of CS&E, GEC,Hassan
Certificate
This is to certify that the work entitled “Apple iOS” is a bonafide work carried out by
Chethan H A (4GH08CS010) in partial fulfillment of the award of the degree of Bachelor
of Engineering in Computer Science & Engineering of Visvesvaraya Technological Uni-
versity, Belgaum, during the year 2012. It is certified that all corrections / suggestions
indicated during CIE have been incorporated in the report. The seminar report has been
approved as it satisfies the academic requirements in respect of the technical seminar
prescribed for the Bachelor of Engineering Degree.
Date :
Place : Hassan
Acknowledgement
“Acknowledgement - At the outset I express my most sincere grateful
thanks to my Guide Mr.Annaiah.H, Assistant Professor , Department
of CS&E, for his continous support and advice not only during the course
of my seminar but also during the period of our stay in GECH.
Chethan H A
4GH08CS010
i
Table of Contents
Table of Contents ii
Abstract iii
1 Introduction 1
2 About iOS 2
4 iOS Development 9
4.1 Xcode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.2 Intruments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
5 iOS versions 12
5.1 Features of iOS 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
6 Conclusion 17
References 18
ii
Abstract
iOS is Apple’s mobile operating system developed originally for the iPhone,
and later deployed on the iPod Touch and iPad as well. It is derived from
Mac OS X, with which it shares the Darwin foundation, and is therefore a
Unix-like operating system, by nature. In iOS, there are four abstraction
layers: the Core OS layer, the Core Services layer, the Media layer, and the
Cocoa Touch layer. The operating system uses roughly 500 megabytes of the
device’s storage.
iii
Chapter 1
Introduction
iOS is the operating system at the heart of iPhone, iPod touch, and iPad devices.The
iOS platform was built using the knowledge that went into the creation of Mac OS X,
and many of the tools and technologies used for development on the platform have their
roots in Mac OS X as well. Despite its similarities to Mac OS X, iOS does not require ex-
perience developing Mac OS X applications. The iOS Software Development Kit (SDK)
provides everything you need to get started creating iOS applications.
The iPhone SDK contains the code, information, and tools you need to develop, test,
run, debug, and tune applications for iOS. The Xcode tools provide the basic editing,
compilation, and debugging environment for your code. Xcode also provides the launching
point for testing your applications on an iOS device, and in iPhone Simulatora platform
that mimics the basic iOS environment but runs on your local Macintosh computer.
iOS comprises the operating system and technologies that you use to run applications
natively on devices, such as iPad, iPhone, and iPod touch. Although it shares a common
heritage and many underlying technologies with Mac OS X, iOS was designed to meet
the needs of a mobile environment, where users needs are slightly different. If you have
previously developed applications for Mac OS X, you will find many familiar technologies,
but youll also find technologies that are available only on iOS, such as the Multi-Touch
interface and accelerometer support.
1
Chapter 2
About iOS
iOS is was developed by Apple Inc. in june 2007 for iPhone so it is also called iPhone
OS.It is programmed in C,C++ and Objective C and derived from the Mac OS X.The
Mac OS X is series of Operating System developed by Apple Inc. and it supports Graph-
ical user Interfaces(GUI) and therefore a Unix like OS.
The kernel type is Hybrid kernel architecture and hybrid kernel architecture is com-
bination of microkernel and monolithic kernel.iOS is currently supported by 34 languages
worldwide.The Latest Stable release is version 5.0.1 (Build 9A406) for iPhone 4 S and
The Latest Stable release is version 5.0.1(Build 9A405) for iPhone,iPhone 3G,iPhone
3GS ,iPhone 4,iPod Touch and iPad and The Latest unstable release is version 5.1(Build
9B5141a).The defaultuser interface of iOS is Cocoa Touch(Multi-touch,GUI).
Initially, third-party applications were not supported. Steve Jobs argued that developers
could build web applications that ”would behave like native apps on the iPhone”.On
October 17, 2007, Apple announced that a native SDK was under development and that
they planned to put it ”in developers’ hands in February”. On March 6, 2008, Apple
released the firstbeta, along with a new name for the operating system: iPhone OS. Brisk
sales of Apple mobile devices kindled interest in the SDK.
Multitasking:
The biggest and most obvious update to iOS 4 is the ability for third-party applications
to ”multitask”that is, you don’t have to terminate them in order to do something else
in another app. This is functionality that has been requested of Apple since the launch
of the original iPhone in 2007, and it has been a long time coming. (Only the iPhone 4,
iPhone 3GS, and third-gen iPod touch get multitasking.)
2
Apple iOS Chapter 2
Apple’s own apps have always been able to truly multitask (you can get iCal alerts
while playing a game, for example, or listen to music from the iPod app while reading a
webpage), but third parties can now take advantage of alimited setof multitasking capa-
bilities in order to make things easier on the user.
Apple claims that it only allows for certain functionality so that the OS can continue
to preserve battery life and performance in a sane manner. So, what exactlycanyou do
with this new feature? Really, the answer isn’t so much that apps will be ”multitasking,”
but rather that they’ll be ”doing a few things in the background”
Audio: you can now listen to streaming music from apps, like Pandora or newscasts
through the NPR app, while doing other activities on your phone. Previously, you would
have to quit out of the app (and therefore stop your music stream) if you wanted to
respond to an SMS or read your e-mail, and now that’s no longer the case.
VoIP: similarly, you can carry on Voice Over IP calls on services like Skype without
having to quit the app if you need to perform other tasks.
Location: apps that need to poll your location, such as GPS and direction apps, will
be able to do so in the background. No longer will you need to keep the app in the
foreground just so it can keep track of where you are.
Local notifications: third-party apps no longer have to rely solely on push notifica-
tions if they want to alert you of something on your phone.
Complete tasks: if you start a task in an application and then switch to another one
(such as downloading a new map in your favorite game), it can now complete the task in
the background instead of forcing you to sit there and wait on it.
Fast app switching: this is basically ”pausing” an app where it is, which allows you
to quickly switch away from it and then switch back, picking up where you left off.
The iOS architecture is similar to the basic architecture found in Mac OS X. At the
highest level, iOS acts as an intermediary between the underlying hardware and the
applications that appear on the screen.The applications you create rarely talk to the un-
derlying hardware directly. Instead, applications of the iOS Architecture communicate
with the hardware through a set of well-defined system interfaces that protect your ap-
plication from hardware changes. This abstraction makes it easy to write applications
that work consistently on devices with different hardware capabilities.
4
Apple iOS Chapter 3
External Accessory Framework -Introduced in iOS 3.0, the External Accessory frame-
work (ExternalAccessory.framework) provides support for communicating with hardware
accessories attached to an iOS-based device. Accessories can be connected through the
30-pin dock connector of a device or wirelessly using Bluetooth.
iCloud Storage -Introduced in iOS 5, iCloud storage lets your application write user
documents and data to a central location and access those items from all of a users com-
puters and iOS devices.
There are two ways that applications can take advantage of iCloud storage, each of
which has a different intended usage:
1. iCloud document storageUse this feature to store user documents and data in the
users iCloud account.
2. iCloud key-value data storageUse this feature to share small amounts of data among
instances of your application.
provides a single sign-on model for certain user accounts.Single sign-on improves the user
experience, because applications no longer need to prompt a user separately for login
information related to an account.
Core Data Framework -Introduced in iOS 3.0, the Core Data framework (Core-
Data.framework) is a technology for managing the data model of a Model-View-Controller
application.
Graphics Technologies
High-quality graphics are an important part of all iOS applications. Core Graphics (also
known as Quartz) handles native 2D vector- and image-based rendering. Core Animation
(part of the Quartz Core framework) provides advanced support for animating views and
other content. Core Image provides advanced support for manipulating video and still
images.
Audio Technologies
The audio technologies available in iOS are designed to help you provide a rich audio
experience for your users. This experience includes the ability to play high-quality audio,
record high-quality audio, and trigger the vibration feature on certain devices.The audio
technologies in iOS support the following audio formats:AAC,Apple Lossless (ALAC), A-
law,IMA/ADPCM (IMA4),Linear PCM, -law,DVI/Intel IMA ADPCM,Microsoft GSM
6.10.
Video Technologies
Whether you are playing movie files from your application or streaming them from the
network, iOS provides several technologies to play your video-based content. On devices
with the appropriate video hardware, you can also use these technologies to capture video
and incorporate it into your application.
The video technologies in iOS support the playback of movie files with the .mov, .mp4,
Dept of CS&E, GEC,Hassan 6
Apple iOS Chapter 3
.m4v, and .3gp filename extensions and using the following compression standards:
AirPlay
AirPlay is a technology that lets your application stream audio to Apple TV and to third-
party AirPlay speakers and receivers. AirPlay support is built in to the AV Foundation
framework and the Core Audio family of frameworks. Any audio content you play using
these frameworks is automatically made eligible for AirPlay distribution. Once the user
chooses to play your audio using AirPlay, it is routed automatically by the system.
Core Image Framework -Introduced in iOS 5, the Core Image framework (CoreIm-
age.framework) provides a powerful set of built-in filters for manipulating video and still
images.
Protection,Apple push notifications service and File sharing are supported by Cocoa
touch layer.
There are so many Cocoa touch layer frameworks are there.They are:
Game Kit Framework -Introduced in iOS 3.0, the Game Kit framework (GameKit.framework)
lets you add peer-to-peer network capabilities to your applications. Specifically, this
framework provides support for peer-to-peer connectivity and in-game voice features.
Map Kit Framework -Introduced in iOS 3.0, the Map Kit framework (MapKit.framework)
provides a scrollable map interface that you can integrate into your existing view hierar-
chies. You can use this map to provide directions or highlight points of interest. Appli-
cations can programmatically set attributes of the map or let the user navigate the map
freely. You can also annotate the map with custom images or content.
iOSArchitectureLayers
iOS Development
Mac OS X applications cannot be copied to and run on an iOS device. The applica-
tions must be written and compiled specifically for iOS and the ARM architecture. The
Safari web browser supports web applications as with other web browsers. Authorized
third-party native applications are available for devices running iOS 2.0 and later through
Apple’s App Store.
iOS is the operating system that runs on iPhone, iPod touch, and iPad devices. This
operating system manages the device hardware and provides the technologies required
to implement native applications. The operating system also ships with various system
applications, such as Phone, Mail, and Safari, that provide standard system services to
the user.
On October 17, 2007, in an open letter posted to Apple’s ”Hot News” weblog, Steve
Jobs announced that a software development kit (SDK) would be made available to
third-party developers in February 2008. The SDK was released on March 6, 2008, and
allows developers to make applications for the iPhone and iPod Touch, as well as test
9
Apple iOS Chapter 4
them in an ”iPhone simulator”. However, loading an application onto the devices is only
possible after paying an iPhone Developer Program fee. Since the release of Xcode 3.1,
Xcode is the development environment for the iPhone SDK. iPhone applications, like iOS
and Mac OS X, are written in Objective-C.
Developers are able to set any price above a set minimum for their applications to be
distributed through the App Store, of which they will receive a 70 percent share. Alter-
nately, they may opt to release the application for free and need not pay any costs to
release or distribute the application except for the membership fee.
Some have criticized the mandatory Developer Agreement’s refund policy, which says
that if someone purchases an app from the App Store, 30 percent of the price goes to
Apple, and 70 percent to the developer. If a refund is granted to the customer (at Apple’s
discretion), the 30 percent is returned to the customer from Apple, and 70 percent from
the developer; however, Apple can then take another 30 percent of the cost from the
developer to make up for Apple’s loss.
4.1 Xcode
The focus of your development experiences is the Xcode application. Xcode is an inte-
grated development environment (IDE) that provides all of the tools you need to create
and manage your iOS projects and source files, assemble your user interface, build your
code into an executable, and run and debug your code either in iOS Simulator or on a
device. Xcode incorporates a number of features to make developing iOS applications
easier, including the following:
To create a new iOS application, you start by creating a new project in Xcode. A
project manages all of the information associated with your application, including the
source files, build settings, and rules needed to put all of the pieces together. The heart
of every Xcode project is the project window. This window provides quick access to all
of the key elements of your application. In the Groups Files list, you manage the files
in your project, including the source files and build targets that are created from those
source files. In the toolbar, you access commonly used tools and commands. We can
then configure the workspace to display the panes you need for editing, navigating your
project content, debugging, and obtaining additional information about items.
4.2 Intruments
To ensure that you deliver the best user experience for your software, the Instruments
environment lets you analyze the performance of your iOS applications while running in
Simulator or on a device. Instruments gathers data from your running application and
presents that data in a graphical display called the timeline view .
We can gather data about your applications memory usage, disk activity, network activ-
ity, and graphics performance. The timeline view can display all the types of information
side by side, letting you correlate the overall behavior of your application, not just the
behavior in one specific area.
For example, the Instruments window lets you store data from multiple runs so that
you can see whether your applications behavior is actually improving or whether it still
needs work. You can save the data from these runs in an Instruments document and
open them at any time.
In addition to providing the timeline view, Instruments provides tools to help you analyze
your applications behavior over time.
iOS versions
On June 29, 2007, Apple released the first version of iOS concurrently with the first
iPhone. The final 1.x series release was 1.1.5, released shortly before version 2.0.On July
11, 2008 saw the public release of iPhone OS 2.0, with upgrades through version 2.2 made
available. iOS 3.0 was released on June 17, 2009. It was updated through (and including)
version 3.1.3.The first generation iPod Touch and iPhone have iOS 3.1.3 as their newest
available version. The iPad was introduced with 3.2, a version made specifically for the
iPad.
On June 6, 2011, Apple previewed iOS 5, Apple TV 4.4 beta and the iOS SDK 5
beta along with iCloud beta among other products. This update introduced iMessage
chat between devices running iOS 5, a new notification system, Newsstand subscriptions,
Twitter integrated into iOS, Reminders app, Enhancements to AirPlay, full integration
with iCloud and over 200 new features. iOS 5.0 supports All iPad models, iPhone 3GS,
iPhone 4 GSM CDMA, the iPod Touch 3rd 4th generation.
Apple concurrently provides the same version of iOS for the comparable model of iPod
and iPhone, usually devices released in the same calendar year. iPhone users receive all
software updates for free, while iPod Touch users paid for the 2.0 and 3.0 major software
updates. As of iOS 4.0, Apple no longer charges for iPod Touch updates.
The Latest Stable release is version 5.0.1 (Build 9A406) for iPhone 4 S and the
Latest Stable release is version 5.0.1(Build 9A405) for iPhone,iPhone 3G,iPhone
3GS ,iPhone 4,iPod Touch and iPad and the Latest unstable release is version
5.1(Build 9B5141a)
Music:
iPod app now split into Music and Videos (iPhone and iPad only).
Video podcasts can only be found in the Videos app.
Ability to play content while the device is synchronizing with iTunes.
Ability to delete songs from device (by swiping over the corresponding song).
Tap and hold on a song to view extended song information.
Long names scrolling in now playing.
Mail:
Rich text formatting (bold, italics and underline).
Indentation control.
Ability to mark multiple mail items as read.
Ability to flag emails.
Draggable mail address in the recipients field.
Alert if the subject line is blank.
Search now includes body of messages.
Delete mails while in Airplane mode.
Safari:
Safari Reader: On certain web articles, a new ’Reader’ icon will appear in the ad-
dress bar which will display a new window sheet over the current page sans any ads
or clutter. Prior or following pages in the article normally needed to open a new
link will show up uniformly, separated by only a page break and ability to change
font size in reader mode.
iCloud:
iTunes, iBooks (books and progress), App Store, Photo, Contacts, Calendar, Notes,
Reminders, Mail, Safari bookmarks and Reading List items, device settings, app
data, iWork and backup data saved in iCloud and automatically or manually down-
loaded to all linked devices (iOS and Mac/Windows PCs.
iTunes/App Store:
iTunes Tone Store.
New Purchased History section.
Genius support for finding songs and apps similar to ones users have purchased
previously.
Ability to completely disable in-App purchases.
iTunes password prompt.
Game Center:
Photos for friends.
Ability to make your Profile public or private.
Points in Game Center: shows you how many points you have on the home screen
of Game Center.
Sort and View friends on the basis of Points.
Friend Recommendations.
Games can be purchased from within Game Center.
Keyboard:
Ability to create keyboard shortcuts (autotext) to replace custom phrases. By de-
fault includes omw which expands to On my way!. Emoji keyboard is no longer
requires an app to enable it. Define your own words in Offline Dictionary.
Photos:
Built-in basic photo editing: crop, red-eye, auto-enhance and rotate photos.
Ability to create and edit local photo albums folders (only those that aren’t synced
with iTunes).
Ability to sync pictures taken on one iOS device automatically with other iOS 5
devices using Photo Stream.
Ability to select all when adding pictures to an album.
Slight re-design for video time-line under Photos app.
Maps:
Print maps.
Alternate routes.
Traffic.
5.1.1 iOS 5.x: battery, Wi-Fi, SIM card, echo bugs and
unknown data usage
Apple has confirmed that several battery life bugs are negatively affecting battery life in
iOS 5.They attempted to fix these bugs with iOS 5.0.1 but unfortunately the problem
still remains.The launch of the iOS 5 update on October 12, 2011 (including iOS 5.0.1
released on November 10, 2011) led many users to report a major bug causing the device
to lose Wi-Fi access. As of January 17, 2012, this problem remained unresolved.Some
users of the iPhone 4S and iPad 1 reported issues with the SIM card in the initial release
of iOS 5, and even though Apple attempted to fix these issues in version 5.0.1 build 9A406
(for iPhone 4S only), they still remain. Some users of the iPhone 4S/4 reported issues
with having echo problems during phone call in the initial release of iOS 5, which causes
echos to appear randomly during phone calls made through earphones.
It has also been reported by many users that there is an issue with unknown data usage
over 3G data generally reported in the early morning or late evening.It is still unclear
what could have caused the phone to send this data over 3G even when the phone could
have used wifi to do so. It is also not clear what this data might be. And further it is not
Dept of CS&E, GEC,Hassan 15
Apple iOS Chapter 5
clear who should be responsible for this issue: Apple, carrier or both. The first report
came out as early as Feb 2010 and this issue appears to only affect iPhone users within
USA and latterly the UK. Whilst restricting the use of notifications appeared to reduce
the problem, it did not eliminate it and many users still could not seem to find a solution
as of Feb 2012.
All three devices function as digital audio and portable media players and Internet clients.
The Apple TV, which also runs iOS, is a set-top box for streaming local media to a con-
nected television set, and has no screen of its own.
The operating system on iOS devices can be updated through iTunes, or, on iOS 5
or later, directly on the device.
A new version of iOS tends to be released once a year, and is normally free, although iPod
touch users were formerly required to pay a fee. Apple upgrades its products’ hardware
periodically. There have been five generations of iPhone, four of iPod touch, and two of
iPad. Older models of iPod touch are available at retailers at a reduced price but are no
longer available on the Apple Store
iOSDevices
Devices.jpg
Conclusion
The objective of the seminar report was to study and enhance our knowledge about Ap-
ple iOS, mobile operating system. We have learnt about the new features of the iOS 5
operating system, whats new in it, how is it different from previous versions of iOS, what
the technicality behind the iOS 5 is and some more information about it.
So we have learnt about the layers of iOS technology viz. core os, core services, media
and cocoa touch. We have studied about some aspects of the iOS 5 that will help us
in developing the applications for iPhone, via this report. Hence we are now acquainted
with iOS operating system for iPhone. We now know its features and technicality.
Despite the fact that all the information regarding iOS cannot be bound in this re-
port, I have tried to cover almost all points that made our study of iOS 5 worthy.We
have learnt many things about the iOS 5, which we can implement on our own with just
a little effort. Hence our objective has been achieved through this report.
17
References
[1] iOS-http://en.wikipedia.org/wiki/IOS
18