Category Archives: Code Snippets

Directory Paths on the iPhone and iPad

The correct way to retrieve the path of the documents directory in iOS is, according to Apple Documentation: I never seem to be able to remember this when I need it. So I wrapped this and other directory related routines … Continue reading

Posted in Code Snippets | Tagged | Leave a comment

Quick Performance Measurements

A quick and easy way to measure the performance of a piece of iOS code is to dig down below all the Cocoa Touch stuff and use the low-level mach_absolute_time. This call returns a tick count that can be converted … Continue reading

Posted in Code Snippets | Tagged , , , , | 1 Comment

Handy UIKit Debugging Functions

I don’t know how many times I had typed something like before I discovered that UIKit has the following handy string conversions functions Reference UIKit Function Reference

Posted in Code Snippets | Tagged , , , | Leave a comment