Category Archives: Tutorial

Swift Standard Library: Generators, Sequences and Collections

A large part of the Swift Standard Library is concerned with Generators, Sequences and Collections and functions that operate on them, so it’s pretty important to have a good understanding of them. Generators A Generator is anything that conforms to … Continue reading

Posted in Swift, Swift Standard Library, Tutorial | Tagged , , , , | Leave a comment

Getting Travis CI Working with Your iOS GitHub Builds in Under 10 Minutes

I try to make sure that all my Open Source repositories on GitHub compile and run correctly, but it is easy to miss some dependency on my system or some other bug. So it’s nice to have the ability to … Continue reading

Posted in Tutorial | Leave a comment

Using CommonCrypto in Swift

Using CommonCrypto in Swift is tricky because it is not a standalone module, so you cannot just import CommonCrypto. In this post I will describe three methods that facilitate using CommonCrypto in Swift and how to choose which method is best … Continue reading

Posted in Objective-C, Swift, Tutorial | Leave a comment

Swift Standard Library: Zip2

There are lots useful of type, functions, protocols and classes in the Swift Standard Library, many of which have little or no documentation. After finding Swifter a website that extracts what little documentation exists, I have been trying to come … Continue reading

Posted in Swift, Tutorial | Leave a comment

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

If you completed part two of the tutorial and it seems to be working well you can continue with your current project, or if you prefer you can download the starting point here: GitHub IDZWebBrowser Step4 Outstanding Issues In this … Continue reading

Posted in Tutorial | 3 Comments

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

In part one of this tutorial you created the user interface for a simple web browser, but it could only go to a single hardcoded page. In this part of the tutorial, you will customize the Navigation Bar to add … Continue reading

Posted in Tutorial | 2 Comments

Tutorial: Building a Web Browser with UIWebView Revisited (Part 1)

By far the most popular tutorial series on this site has been the “Building a Web Browser with UIWebView” series. Over time, however, the tools and code presented have become outdated. Manual memory management has been replaced with Automatic Reference … Continue reading

Posted in Tutorial | 4 Comments

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 , | 9 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