Introduction to platform-sensitive development

From Free Pascal wiki
Jump to navigationJump to search

Platform-sensitive development is the next step in cross-platform development. It extends the process of porting an application by implementing platform-specific functions and user-interface style guides.

Thanks to the "Write Once - Compile Anywhere" principle of Lazarus and Free Pascal it is very easy to develop a program that runs out of the box on multiple platforms. To make a finished application that adheres to the respective GUI style guidelines (and even the requirements of app stores) warrants additional steps, however.

This article is to provide the reader with essential information and hints for platform-sensitive development.

Prelude

Most adaptations for the specific target platforms are performed automatically by the LCL, FCL, RTL and the respective widget sets. It are minor modifications that are needed to create a finished application for your target platform. It is advisable to use conditional compilation by means of compiler directives in order to keep your code portable.

Platform-specific hints

Android

To be continued ...

iOS

To be continued ...

Linux

To be continued ...

Mac OS X

To be continued ...

Windows

To be continued ...

See also