From Free Pascal wiki
Revision as of 10:02, 31 July 2020 by Trev (talk | contribs) (Fix head spacing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< Lookup < Portals < Portal:Mac

This portal provides an overview of development for macOS (previously marketed as Mac OS X until 2012 and OS X until 2016) with Lazarus and Free Pascal.

Development of macOS software is easy with Lazarus using the Cocoa (64 bit) widgetset. The Carbon widgetset is also available but only for 32 bit software and only up to macOS 10.14 Mojave. Apple removed the Carbon framework from macOS 10.15 Catalina (2019) - that operating system and future versions will no longer run any 32 bit software. Other widgetsets like Qt are also supported, but their use requires additional effort.

Free Pascal can also be used to develop software for Mac OS Classic and older versions of macOS (before Tiger).

Apple's Annual Developer Survey 2020

The annual Apple Developer Survey is your chance to ask Apple to support Free Pascal and Lazarus. Point out that you do not use Xcode but FPC and Lazarus and ask for specific FPC support such as the translation of framework API headers and code samples.

Start hereedit

This box describes installation and use of Lazarus and Free Pascal.

Development Techniquesedit

Basic development techniques with Lazarus and Free Pascal are described here, as well as hints for special optimization approaches.

APIs and Headersedit

FPC supports several APIs on macOS.

Special Topicsedit
Legacy Informationedit