Archive for February, 2012

Creating a PDF on iOS

Friday, February 17th, 2012

I’m amazed at how easy it is to create a PDF on iOS. [cc] CGRect pageRect = CGRectMake(0, 0, 850, 1100); UIGraphicsBeginPDFContextToFile(outputFlePath, pageRect, nil); UIGraphicsBeginPDFPage(); CGContextRef pdfContext = UIGraphicsGetCurrentContext(); [self drawMyPageInContext:pdfContext]; UIGraphicsEndPDFContext(); [/cc] That’s it. You’ll have a PDF in the file identified by outputFilePath that has whatever you drew in the drawMyPageInContext method. Beautiful.

Getting an Xcode project from Git

Monday, February 13th, 2012

There are plenty of pages that will help you add an Xcode project to Git, but I couldn’t find anything on connecting Xcode to an existing Git repository. Here’s how you do that. Here are the steps for Xcode 4.2: From the main Xcode window, select File / Source Control / Repositories… Tap the little […]

MealPlan for iPad

Saturday, February 11th, 2012

For the first time in a long, long time, I’ve released some software that I built myself, for myself. The app is called MealPlan and it’s available for the iPad. I even built a website for it, here. “Fall Day Software” is an entity I created to own the app, but it’s just me so […]

Is Apple setting up a subsidised TV model?

Tuesday, February 7th, 2012

There have been rumours that Rogers and Bell, the two big telecom providers in Canada, have Apple iTV television sets in their labs for testing. That’s an interesting rumour for a couple of reasons. Why would Rogers or Bell care about a new television? Why would Apple involve them? If the rumour is true, then […]