O'Reilly logo

Delphi Cookbook - Second Edition by Daniele Teti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using iOS Objective C SDK classes

Just as we saw about Android in the previous recipe, Delphi is able to access the iOS SDK as well. In this section, we'll talk about the mechanisms that the compiler offers to import classes from the iOS SDK. This is not a standard recipe but is more of a show-case showing the possibilities offered by the Delphi compiler and the process needed to fully use them when dealing with OS built-in libraries. The mechanism is similar to the Android ones, but there are some notable differences.

Getting ready

In Objective-C, all classes have NSObject as a common ancestor. iOS SDK is composed of some frameworks. An iOS framework is a number of classes specialized for a single purpose. For example, UIKit is the framework containing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required