In this recipe, we'll discuss how you can use your C++ classes from the Objective-C code. We'll create a simple application that prints a pretty postcard using the image with a face. We will also learn how to measure the processing time of your methods, so that you can track their efficiency.
The following screenshot shows the resulting postcard:
The source code for this recipe is in the
Recipe05_PrintingPostcard folder in the code bundle that accompanies this book, where you may find implementation of the
PostcardPrinter class and images that are going to be used in our application. You can use the ...