Category Archives: Tutorial

Tutorial: Playing Audio with AVAudioPlayer

The past few tutorials dealt with compiling the open source Ogg and Vorbis libraries. In the next few tutorials I will demonstrate how to play Ogg Vorbis files using these libraries. Before attempting to play an unsupported file format like … Continue reading

Posted in Tutorial | Tagged , | 7 Comments

Tutorial: Open Source on iOS (Part 4): Compiling libvorbis

This is the forth in a series of posts on building open source libraries for iOS. This tutorial uses the scripts and directory structure developed in the first three posts and applies them to compiling the libvorbis open source audio … Continue reading

Posted in Tutorial | 2 Comments

Tutorial: Open Source on iOS (Part 3): Creating Pseudo-Frameworks

On Mac OS X frameworks provide a convenient way to package the dynamic libraries and header files into a single directory structure making it easier to include them in Xcode projects. Apple does not allow dynamic libraries (other than ones … Continue reading

Posted in Tutorial | Leave a comment

Tutorial: Open Source on iOS (Part 2): Compiling libogg on iOS

In this tutorial you will learn how to compile open source libraries that use the GNU Build System (GBS) for iOS. I’ll be using the open source libogg library as an example, but the techniques you use should be useful … Continue reading

Posted in Tutorial | 13 Comments

Tutorial: Open Source on iOS (Part 1): Build Your Tools

This the first in a series of tutorials explaining how to compile popular open source libraries for iOS. In this tutorial you will download and compile a number of tools used in the GNU Build System used by many open … Continue reading

Posted in Tutorial | Tagged , , , , | 2 Comments

Tutorial: Building a Web Browser with UIWebView (Part 4)

In this tutorial, inspired by user feedback, I will show how to add gesture recognizers as alternatives to the “back” and “forward” buttons on the toolbar and also how to suppress spurious error messages. The starting point for this tutorial … Continue reading

Posted in Tutorial | Tagged , , , , | 7 Comments

Tutorial: All About Images (Part 2) — Panning & Zooming with UIScrollView

In this tutorial I will explain how to embed a UIImageView in a UIScrollView to allow zooming and panning of images, similar to Apple’s Photo app. I’ll dig a little bit deeper than most tutorials on the web and explain … Continue reading

Posted in Tutorial | Tagged , , , | 1 Comment

Tutorial: All About Images (Part 1) — UImage & UIImageView

Over the next few days I will be posting tutorials about using images in iOS. In this, the first in the series, you will learn how to load an image from your app’s bundle and display it in a UIImageView. … Continue reading

Posted in Tutorial | Tagged , , , , | 1 Comment

Tutorial: Building a Web Browser with UIWebView (Part 3)

This tutorial is part three of a three part tutorial on creating a web browser using UIWebView (see Part 1 & Part 2). A screenshot of the completed project is shown in Figure 1. If you completed part two of … Continue reading

Posted in Tutorial | Tagged , , , , , , | 12 Comments

Tutorial: Building a Web Browser with UIWebView (Part 2)

In yesterdays tutorial, Building a Web Browser with UIWebView (Part 1) you completed a skeletal implementation of a web browser. In today’s tutorial you will build upon that code to add a Safari-like address bar as shown in Figure 1. … Continue reading

Posted in Tutorial | Tagged , | 4 Comments