Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 2.44 KB

File metadata and controls

32 lines (24 loc) · 2.44 KB

⚠️ This file was converted from the EDGELIB 4.02 documentation from 2012 and is included for historic purposes. The documentation is not maintained anymore: information is outdated and external links might be broken.

Getting started with Apple iOS

This tutorial will get you started to develop for Apple iOS devices, including iPhone, iPod touch and iPad. It contains the following chapters:

Important

When installing applications on the iPhone device, it automatically puts your files in a read-only folder. A read-write folder is available to create new files such as the application configuration. This will require you to manage two paths, instead of only one path used on most other systems. When accessing files, it uses the read-write folder automatically. To read files from the read-only folder, an additional parameter is needed in the EDGELIB function calls. For example, in ClassEFile::Open specify the EFOF_READONLYPATH flag and in CreateSurface, use the EST_READONLYPATH flag.

When using PNG images in your iPhone application, graphics quality can be greatly decreased. This is because the device converts the file while installing your application. You can workaround this behavior by using EDGELIB packages (.epk files) or rename the files to use a different extension.

Download tutorial project

Here is a sample that can be downloaded which contains the result of this tutorial. Remember to set the build target to simulator before building.

Getting started tutorials