Apple

13 Oct 2010

In compiling the Feathers Visage target in Xcode 3.2.4 with the iOS 4.1 SDK, I got the following compiler error on my Prefix.pch file:

CGPDFContext.h:60:23: error: expected function body after function declarator

(more...)

Expected function body after function declarator error with Xcode 3.2.4 and iOS 4.1 (and workaround)

A strange compile-time error and workaround on Xcode 3.2.4/iOS 4.1 SDK.

11 Oct 2010

If you're using [UIImage imageNamed:@"name_of_image"] (without the file name extension) to load in an image from your app's bundle, it will fail in iOS versions earlier than 4.0. To support 3.x, include the file name extension in your calls. So, to be safe, do: [UIImage imageNamed:@"name_of_image.ext"].

[UIImage imageNamed:] gotcha in iOS < 4.0

UIImage's imageNamed: factory method requires file name extensions to work in iOS 3.x.

8 Oct 2010

If you want to transition between two views, here's a neat trick: take a screenshot of the screen you're transitioning from and do the transition between that bitmap and a bitmap representation of the screen you're transitioning to. That way, instead of animating between two possibly complex views with lots of subviews, etc., you are simply animating between two bitmaps. This, of course, will be far less of a strain on the CPU and thus perform better. This little nugget isn't just for iPhone development either. I first started using it back in the day while making Flash apps.

Taking screenshots programmatically

(more...)

Taking screenshots and getting a reference to the keyboard in iOS 4.x

How to take a screenshot of your app (or just the keyboard) via code and how to get a reference to the keyboard on iOS 4.x.

30 Sep 2010

I am going to be teaching my 3-Day Introduction to iOS Development workshop, October 27-29, 2010 October 20-22, 2010, at our beautiful Lighthouse Arts venue in central Brighton (UK).

This intensive course will give you a solid foundation in developing with the iOS SDK (for iPhone, iPad, and iPod Touch), Xcode (both 3 & and the upcoming 4), and Objective-C. To see a more detailed outline of the course and get all the juicy details, please see the course's web-site.

(more...)

Introduction to iOS Development workshop in October

Learn to develop for iOS in this intensive 3-Day workshop in picturesque Brighton.

19 Sep 2010

Feathers decorate your tweets

I've been so busy in the past month, doing my courses in Ghent and Brighton and the opening keynotes for Frontend2010 and Over The Air in Oslo and London that I completely missed the email a few weeks ago from .net magazine informing me that Feathers nominated for .net award. Please vote for it! Feathers has been nominated for Mobile App of the Year at the .net awards.

(more...)

Feathers nominated for .net award: Mobile App of the Year – please vote for it!

Your votes will determine whether Feathers gets to round two of the judging.