You are on page 1of 13

IOS

Rashmi Karan
Anshul Gupta
Gaurav Chauhan

Internal

only with an
e
lid
s
tle
ti
is
th
Use

image

Agenda

iOS Basic
Development Tools
iOS Simulator
Xcode Demo
Framework Language
App Distribution
Developer Certificate & Provisioning Profile

2014 SAP SE or an SAP affiliate company. All rights reserved.

Internal

iOS BASIC

iOS is the operating system (OS) used by iPhones, iPads, and iPod Touches.

iOS Development is the process of creating software for equipment that runs
iOS.

2014 SAP SE or an SAP affiliate company. All rights reserved.

Internal

Development Tools

Apple provides two major development tools for use in iOS development.
XCODE: Xcode is an integrated development environment (IDE). Xcode includes Tools to help you create and modify code
Tools to help you organize and manage your project files
Tools to compile and debug your project
Tools to help you work with your iOS devices

iOS Simulator: The iOS Simulator allows you to test a specially compiled version of your
project under Mac OS without needing an iOS device.

2014 SAP SE or an SAP affiliate company. All rights reserved.

Internal

iOS Simulator: Advantages

iOS Simulator allows developers to easily test code under different versions of
iOS. Exact versions of iOS available for simulation may vary depending on the
version of the iOS SDK that you are using.

Downgrading real-world devices to earlier versions of the operating system is not


supported by Apple. While in iOS simulator it is possible to downgrade an iOS
version for testing.

iOS simulator allows you to easily see how your project will look on different
devices (iPhone or iPad).

2014 SAP SE or an SAP affiliate company. All rights reserved.

Internal

iOS Simulator: Disadvantages

The simulated device screen size on your Mac can be significantly different from
the size of a real-world devices screen. This can give you a false impression of
what your interface will look like to your users

The iOS Simulator does a very good job of emulating an iOS device. However,
there are occasional bugs where the simulator does not perform in the same way
that devices do.

Interacting with a devices touch screen is a very different experience than using
a computer mouse to interact with the simulators screen. You wont have a good
feel for your interface until youve experienced it on a device.

Memory issue or Application crashing issue.

2014 SAP SE or an SAP affiliate company. All rights reserved.

Internal

XCODE

XCODE DEMO

2014 SAP SE or an SAP affiliate company. All rights reserved.

Internal

Framework language: Objective-c

.h and .m Files

By default, Xcode creates two files you when you create a class.

The first file is a .h file. The .h file is a header file. In this file will be a short
summary of the class, listing its name, public properties, public methods,
and its parent class. If other classes need to interact with objects from your
class, they will import this .h file so that they can easily learn what your
class public properties and methods are.

The second file is a .m file. The .m file is your implementation file. In this
file you will put the code for any methods that your class implements.

2014 SAP SE or an SAP affiliate company. All rights reserved.

Internal

A sample .h file

A sample .h file

2014 SAP SE or an SAP affiliate company. All rights reserved.

Internal

A sample .m file

A sample .m file

2014 SAP SE or an SAP affiliate company. All rights reserved.

Internal

10

App Distribution

There are four ways to distribute iOS Applications:

The Apple App store. This method gives developers easy access to users
worldwide. Each app must pass Apples review process in order to be
accepted by the App Store. Serious developers should keep Apples review
guidelines in mind through every stage of the development process.

Ad Hoc Distribution. This method allows you to distribute test versions of


your apps to up to 100 users without using the Apple App Store. You must
know the Unique Device ID (UDID) of the devices on which your apps will
run. Most developers are limited to 100 ad hoc devices per year.

Enterprise Distribution. Large companies can get permission to distribute


their apps internally without going through the app store. This distribution is
only for devices owned or controlled by the company. This distribution
method cannot be used unless Apple has verified a company meets Apples
requirements.

Distributing apps to jail-broken phones. This method of app distribution is


not supported by Apple

2014 SAP SE or an SAP affiliate company. All rights reserved.

Internal

11

Developer certificates & Provisioning profile

In order to install apps on a device, you will need Developer Certificates &
Provisioning Profiles.

Developer Certificates identify a developer as someone who is authorized


by Apple to create software that can be installed on iOS devices.

Provisioning Profiles contain information about:

What kind of distribution the profile allows: Debugging, Ad Hoc Distribution, App
Store Release, or Enterprise Distribution
The bundle ID of your app
Which devices are allowed to run your app (Debugging and Ad Hoc only)
Which Developer Certificates are allowed to use that provisioning profile
How long the provisioning profile is valid

Developer Certificates need to be installed on the Mac on which you are running
Xcode. Xcode also needs your Provisioning Profiles in order to sign your products.
Provisioning Profiles also need to be installed on your test devices in order for them
to run your your signed apps.
2014 SAP SE or an SAP affiliate company. All rights reserved.

Internal

12

Thank you

2014 SAP SE or an SAP affiliate company. All rights reserved.

You might also like