iPhone

Multithreading and Concurrency On The iPhone, the easy way

iPhone developers seem to treat concurrency as a dark art, secret knowledge that only a select few can handle. The forums are full of responses frightening people about the complexity of multithreading, when there’s generally a simple solution that solves the problem. I don’t want to spend a lot of time talking about the low Continue reading Multithreading and Concurrency On The iPhone, the easy way

Creating a Map Based Application on the iPhone Part 2

The next thing I’m going to go through is how to push a new view onto the stack when the user taps the annotation’s call out button. This is relatively straight forward with one annotation, but is a little bit more complicated when it comes to multiple annotations that have all been created dynamically. In Continue reading Creating a Map Based Application on the iPhone Part 2

My Two Latest Apps Just Went Live On The App Store

Things have been pretty quiet here on the blog over the last couple of weeks, mainly because I’ve been flat out working on some client iOS projects. I’m happy to say that two of these apps are now live on the app store and I’ll be writing some complimentary tutorials in the coming weeks explaining Continue reading My Two Latest Apps Just Went Live On The App Store

UITextViews can automatically detect URLs and phone numbers

Quick tip: Everyone knows that when you create a UITextView in Interface Builder you can easily switch it to automatically detect URLs, but recently I was looking for the code to do this dynamically and all I code find was a 15 line REG EX. So here’s how to set text fields to dynamically detect Continue reading UITextViews can automatically detect URLs and phone numbers

Creating a Map Based Application on the iPhone Part 1

Everybody seems to want a map based mobile application these days. It’s like the late 90s all over again but with mobile devices instead of Netscape. So to lighten my work load a bit I’m going to show you how to go about making your own, and a few tricks I’ve learnt along the way. Continue reading Creating a Map Based Application on the iPhone Part 1

Transparent Video On The iPhone, It Can Be Done… With Flash!

The creative for a client project I worked on recently involved several video loops of actors shot on green screen. The videos needed to overlap, so the actors didn’t look like they were in discreet spaces, but in one seamless environment. The problem with this creative was that the iPhone SDK doesn’t include a video Continue reading Transparent Video On The iPhone, It Can Be Done… With Flash!

Video On The iPhone Tutorial Part 4, using AVQueuePlayer to play a series of videos in sequence

AVQueuePlayer allows you to queue up a “playlist” of videos which are then automatically played one after the other. You can also set up a Notification to listen for changes in the AVQueuePlayer’s AVPlayerItems and then build custom code to repeat, skip or add new video items to the queue. This tut follows on from Continue reading Video On The iPhone Tutorial Part 4, using AVQueuePlayer to play a series of videos in sequence

Video On The iPhone Tutorial Part 3, playing multiple videos simultaneously

I come from a Flash background and something I’m use to doing a lot of in Flash is creating video walls (playing several videos at the same time). There are a lot of situations where you might want to do this, say having multiple video thumbnails playing, or a main video with another “talking head” Continue reading Video On The iPhone Tutorial Part 3, playing multiple videos simultaneously