iOS Designer

From Lazarus wiki
Revision as of 12:30, 17 February 2013 by Loesje (talk | contribs) (First information about the iOS Designer package)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

About

This package adds a designer for XIB-resource files to the Lazarus-IDE. XIB resource files are used to store iOS screen layouts and are normally designed using Xcode. The XIB-designer makes it easier to use iOS screen layouts in combination with Objective Pascal code.

iOS applications created by this package are using the Objective-Pascal language extensions in order to use the native Objective-C Cocoa and iOS SDK objects. Therefor you need a copy of the iOS-SDK Pascal headers, which are generated from the headers in the iOS SDK. Furthermore you need a Free Pascal compiler for ARM if you want to deploy your applications to a real device, or a Free Pascal compiler for the iphonesim target, if you want to test your applications on the iPhone Simulator. More information about this can be found in the iPhone/iPod development section.

This package depends on the iPhone Laz Extension package, which is used for the integration with Xcode and some utilities from the iOS SDK.

The extension does NOT provide another LCL WidgetSet (like Carbon or Cocoa) nor requires to use any.

Author

Joost van der Sluis

email: joost at cnoc dot nl

License

modified LGPL (same as the FPC RTL and the Lazarus LCL).

Download

The latest stable release can be found at svn:

svn co https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/iosdesigner

Change Log

  • Version 0.1 Aug 2011
  • Version 0.2 Feb 2013

Dependencies / System Requirements

  • Lazarus 1.1 (SVN trunk) or higher.
  • Mac OS X 10.6 + iPhoneSDK/Xcode
  • FPC 2.6.0
  • iPhone Laz Extension
  • Since Apple doesn't provide any tools for development on other than OS X system, the package could be installed and used on Windows or Linux, but in that case you can not compile your applications.

Status: Alpha

Known Issues:

To do:

Installation

In order to develop for iPhone or iPod, you'll need arm FPC compiler with rtl and packages installed in the system. There're 2 ways to do it: built manually via SVN or installed from a special FPC arm package. Both ways are described here.

You don't need to install ARM compiler or packages, if you're planning to use iPhone simulator only.

  • Make sure you have a Free Pascal compiler installed for ARM or the iPhoneSim target
  • Make sure you have the iOS header files installed. (The iPhoneAll unit)
  • Install the iPhone Laz Extension package
  • Get the package source via svn or download from Sourceforge
  • Open and install the package

How to use