Presentation is loading. Please wait.

Presentation is loading. Please wait.

The short road to iOS development Delphi for iOS.

Similar presentations


Presentation on theme: "The short road to iOS development Delphi for iOS."— Presentation transcript:

1 The short road to iOS development Delphi for iOS

2 Agenda Stop 1: Configure your environment Stop 2: FMX Components Stop 3: File I/O Stop 4: Local DB development Stop 5: Remote DB development Stop 6: Access to Cocoa Stop 7: Apple Developer Account Overview

3 Stop 1: Configuration Windows: – XE2 – dpr2xcode.exe OSX: – Xcode (3.2.5, 3.2.6 or 4.0.2) – iOS SDK (4.2, 4.3) – FireMonkey-iOS.dmg (FMX libraries & FPC) – Consult Install.htm for specific details

4 Stop 2: FMX Components All Visual Components are available Animations & 3D support available Some non visual components not available: http://docwiki.embarcadero.com/RADStudio/ XE2/en/Components_Not_Used_in_iOS_Apps http://docwiki.embarcadero.com/RADStudio/ XE2/en/Components_Not_Used_in_iOS_Apps iOS Style

5 Stop 3: File I/O iOS Apps are sandboxed – Exceptions: accessing contacts or music – Use cloud for sharing An ‘App’ folder is created –.app bundle – Documents – Library – Tmp You can use SysUtils to access some of this…

6 Stop 4: Local DB Development Embeddable databases: SQLite, FileMaker, SQLite is already part of iOS SDK Example

7 Stop 5: Remote DB Development Currently: – No dbExpress… – No IBExpress… – No ODBC… How about DataSnap?

8 Stop 6: Access to Cocoa How do I access Compass, GPS, Contacts, etc… Enter… Cocoa: – ‘Native’ API for accessing OSX and iOS – High proportion of headers have been parsed to pascal: /fpc/packages/cocoaint/utils/uikit- skel/src/foundation Example

9 Stop 7: Apple Developer Account How do I deploy my App to a device? Purchase an Apple Developer Account: – iOS Developer Program : 99USD – iOS Developer Enterprise Program: 299USD – iOS Developer University Program: free – https://developer.apple.com/programs/start/ios/ https://developer.apple.com/programs/start/ios/

10 Wrap Up Use Delphi to: – Create rich UI’s – Access the File System – Access Databases – Include iOS in multi-tiered architectures – Access more specific iOS APIs with Cocoa

11 Useful Links http://blogs.embarcadero.com/ao http://www.tindex.net/iOSCompiler.html http://wiert.wordpress.com/2011/12/20/delp hi-xe2-and-ios-things-you-should-not-do/ http://wiert.wordpress.com/2011/12/20/delp hi-xe2-and-ios-things-you-should-not-do/ http://developer.apple.com http://edn.embarcadero.com

12 Many thanks to: Phil Hess Anders Ohlsson Andre Miertschenk

13 E: damien.bootsma@embarcadero.com T: damien_bootsma


Download ppt "The short road to iOS development Delphi for iOS."

Similar presentations


Ads by Google