Blog

Tag Archives: Development

Playing audio in time using Remote IO

I got an email today with a question about how to handle playback of audio in time, synchronised with a clock. My ‘musical notepad’ app Loopy does this, and I thought I’d briefly explain how. Any app that makes use of the Remote IO audio unit framework (which is generally necessary for the kind of [...]
Also tagged , , , | Leave a comment

iPhone debugging tip: Breaking on exceptions and reading their content

Just a quick one: This may be obvious to many devs, but it’s worth noting. One common and useful debugging technique is breaking on exceptions, so that you can see exactly where in your app’s flow a breakpoint occurs. This can be done by adding -[NSException raise] and objc_exception_throw to your breakpoints list. Once an [...]
Also tagged , , , | Leave a comment

iPhone/Mac animation for custom classes: Property animation for more than just CALayer

An Objective-C class that provides similar functionality to CABasicAnimation, but works on any object.

Also tagged , , , , , | Leave a comment

Links for May 30th through August 8th

Links for May 30th through August 8th: cufón – fonts for the people A very impressive framework that embeds any font into a website, via javascript and the canvas element. Great cross-browser support. mikeash.com: Method Replacement for Fun and Profit Method replacement and method swizzling in Objective-C. Core Data Tutorial: How To Use NSFetchedResultsController | [...]
Also tagged , , , , , , , | Leave a comment

Achieve smaller app downloads by replacing large PNGs with JPEG + mask

I’m using a transparent overlay on top of a fairly common interface element to make it look awesome. I originally did this with a transparent PNG, until I realised the PNG in question for the iPhone 4′s Retina display was truly massive, clocking in at 1 Mb. Why we don’t have common image format with [...]
Also tagged , , , | Leave a comment

Reginald RegEx explorer

With a desperate need to debug a lengthy regular expression destined for use with the excellent RegexKitLite library, I have quickly put together a Mac OS X application. Reginald is a kindly old gentleman devoted to assisting you with those tricky regular expressions. Provide some sample input, and your regular expression, and Reginald will provide [...]
Also tagged , , , | Leave a comment

Making UIToolbar and UINavigationBar’s background totally transparent

Technique to make the background of UIToolbar and UINavigationBar transparent, for custom interfaces

Also tagged , , | 1 Comment

Links for February 25th through May 29th

Links for February 25th through May 29th: Implementing iBooks page curling using a conical deformation algorithm Excellent summary of how to implement a convincing page turn animation in OpenGL Multiplottr.com — Plot, save and share multiple locations on your own customized maps. Batch plot multiple addresses gmaps.kaeding.name :: Plot multiple locations on Google Maps Enter [...]
Also tagged , , , , , , , | Leave a comment