1 / 13

The short road to iOS development

The short road to iOS development. Delphi for iOS. 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. Stop 1: Configuration.

zoe
Download Presentation

The short road to iOS development

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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 • 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 iOSSDK • 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/

  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/delphi-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.comT: damien_bootsma

More Related