10
UFCFX5-15-3 Mobile Device Development iOS Development Review

UFCFX5-15-3Mobile Device Development iOS Development Review

Embed Size (px)

Citation preview

Page 1: UFCFX5-15-3Mobile Device Development iOS Development Review

UFCFX5-15-3Mobile Device Development

iOS Development Review

Page 2: UFCFX5-15-3Mobile Device Development iOS Development Review

UFCFX5-15-3Mobile Device Development

Agenda

iOS Framework Developer Licensing for iOS XCode IDE and Supported Development Languages Recommended Reading for Native iOS Development Unity 3D and iOS Unity 5.0.0

Page 3: UFCFX5-15-3Mobile Device Development iOS Development Review

UFCFX5-15-3Mobile Device Development

iOS Framework

iOS Development Framework

Targets: iPhone, iPad, iPad Mini, Retina Displays iOS SDK including Cocoa UI framework XCode IDE - current version 6.1.1 Programming Language: ObjectiveC and Swift

Supported Development Platforms: OSX

Page 4: UFCFX5-15-3Mobile Device Development iOS Development Review

UFCFX5-15-3Mobile Device Development

XCode IDE 6.1.1

XCode is the IDE for iOS development and debuggingAlso supports C++, ObjectiveC and SwiftSupport for other languages e.g. Java is also availableXCode has several project templates as a starting point for a development project. iOS development requires a valid licence to run the application on a real device.

Page 5: UFCFX5-15-3Mobile Device Development iOS Development Review

UFCFX5-15-3Mobile Device Development

Developer Licensing for iOS

To deploy and debug on an iOS device you will need a current

developer licence from Apple:

Register as a developer via the developer portal - use your iTunes ID and password if you have one

Pay the annual licence fee, currently £60 Once you are registered you must download a provisioning

licence to each device you want to use for development and debugging up to a maximum of 99 devices

Page 6: UFCFX5-15-3Mobile Device Development iOS Development Review

UFCFX5-15-3Mobile Device Development

XCode StoryBoards Facilities and the ‘Playground’

The XCode IDE provides developers with a storyboard environment to plan and design program flow structures and UI functionality

The Playground is a new feature in XCode 6.x which allows program code to be compiled in real-time for the purposes of quick code try-out scenarios, testing and debugging.

It also is an aid to the code-learning process by facilitating the testing of small fragments of code

Page 7: UFCFX5-15-3Mobile Device Development iOS Development Review

UFCFX5-15-3Mobile Device Development

Recommended Reading for iOS Native Development

Excellent book for iOS native development.

Example projects for all aspects of iOS apps including UI elements, user gestures, location, accelerometer,, camera access, data handling, physics, games.

Page 8: UFCFX5-15-3Mobile Device Development iOS Development Review

UFCFX5-15-3Mobile Device Development

Unity 3D for iOS

Deploy to iOS form Unity by choosing iOS from the list of Target platforms

The Unity build settings will require valid developer code to be embedded with the development product ID

TBYF2P2JK28 (Apple Developer Code)

During the build phase Unity builds and links an XCode project from the Unity code and then pushes the executable onto the device

No emulators available – must run and test on a real device.

Page 9: UFCFX5-15-3Mobile Device Development iOS Development Review

UFCFX5-15-3Mobile Device Development

Unity 3D Version 5.0.0 Unity 3D version 5.0.0 has been released Professional Edition and Personal Edition Personal Edition free to use and includes deployment to Android, iOS and

Web GL (preview version) Includes useful start projects for various scenarios including driving, flying

and third-person character animation New particle system included which now replaces legacy particle system Previous versions of Unity 3D Projects will be upgraded to new format

including new APIs. Make backup copies of existing Unity 4.x projects before attempting to

upgrade them to version 5. Rename the Unity 4.x folder before downloading version 5

Page 10: UFCFX5-15-3Mobile Device Development iOS Development Review

UFCFX5-15-3Mobile Device Development

Summary

iOS development requires an Apple Developer Code, currently£60 per year. The XCode 6.x IDE provides development for a range of programming languages including

ObjectiveC and the new Swift language XCode has facilities for storyboard development and real-time compilation via the ‘Playground’ Unity 3D targeting iOS devices requires an embedded developer code inside the build settings

product ID Unity 5.0.0 now available with several new features including some useful start projects for

various scenarios, including driving, flying and third-person character animation