Reputation: 76597
What's the workflow for creating an iOS app using Delphi-XE2.
This is really a reference question and I'll answer it as soon as SO lets me, but I thought it would be nice to have the answer here
Upvotes: 6
Views: 1027
Reputation: 76597
iOS Applications
FireMonkey iOS applications are written in Delphi:
File > New > Other > Delphi Projects > FireMonkey iOS HD Application
File > New > Other > Delphi Projects > FireMonkey iOS 3D Application
Projects for iOS do not have a Target Platforms node in the Project Manager; they only target iOS
iOS Forms
Additional Delphi forms are added the same way as with Windows and Mac OS X. Because the target platform is iOS, and the production executable is built with the Free Pascal compiler, the uses declaration for form units is different:
uses
SysUtils, Types, Classes, Variants, FMX_Types, FMX_Controls, FMX_Forms,
FMX_Dialogs, FMX_ExtCtrls, FMX_Ani;
iOS Workflow
FireMonkey iOS development has to be done using both Windows and a Mac.
Before starting your first iOS project, you must perform one-time setup on both ends. Then for each project, development occurs in the following sequence:
Compiler and Runtime Differences
Xcode builds the application with the Free Pascal compiler to run on the Free Pascal runtime library. Some features of the Delphi compiler and RTL are not supported by Free Pascal.
Upvotes: 7