Objective Pascal Examples

To compile these projects you must install the latest version of FPC from SVN (currently 2.5.1) and PascalGladiator 0.7.1 with ObjP syntax support. If you prefer Unix you can use the installer shell script or there is a install application available (see below).

Objective Pascal Installer

To install using a Mac application download the installer and follow the first 2 steps and optionally parse the iPhone headers. The installer itself was made using Objective Pascal and performs the same steps found in the shell script. You can also continue to use the installer to upgrade your version of FPC if you need.


AppKit/Foundation Examples


Library Examples


iPhone Examples

These examples require the iPhone SDK (from Apple) and translated Pascal interfaces to run (which I can not distribute, see the script above). As of version 0.7.2 PascalGladiator supports a target for compiling bundles which will run in the iPhone simulator but Xcode and certificate ($99) is still required for device targets.


Framework Parser

The framework parser is a PHP script which translates Objective-C headers into Objective Pascal units. The parser is still not 100% accurate however even after much development but can still be used to batch convert entire frameworks which can then be polished by hand afterwards to achieve good results. Download the parser here which contains basic documentation and an example of how to parse AppKit.framework.


© 1998-2010 The Alchemist Guild