Author Archives: Graham Lee

How to find me

It came to my attention this week that people are finding me via Google, which (unsurprisingly) links to here. I’ve been blogging for a couple of years at Secure Mac Programming, and I’m on twitter as @iwasleeg. I’m +Graham Lee … Continue reading

Posted in whatevs | Leave a comment

LLVM projects you may not be aware of

All Mac and iPhone OS developers must by now be familiar with LLVM, the Low-Level Virtual Machine compiler that Apple has backed in preference to GCC (presumably at least partially because because GCC 4.5 is now a GPLv3 project, in … Continue reading

Posted in C++, Java, objc | 27 Comments

WWDC dates announced

The entire of Twitter has imploded after noticing that Apple has announced the dates for WWDC, this year June 7-11. That’s too short notice for me to go, and having only recently started working again after a few months concentrating … Continue reading

Posted in carbon, conference, nextstep | 2 Comments

The difference between NSTableView and UITableView

A number of times, I’ve chased myself down rat holes in iPhone projects because I’ve created a design or implementation that assumes UITableView and NSTableView are similar objects. They aren’t. The main problem I come across is related to how … Continue reading

Posted in cocoa, iPad, iPhone, objc | 3 Comments

On writing a book

Well, I’ve performed my final author’s review, and Professional Cocoa Application Security is all with the printers. This post is about my experiences writing the book, not the book material itself. My original motivation for writing PCAS was that it … Continue reading

Posted in book, cocoa, security | 1 Comment

Rehearsals in beta!

I have a new application, Rehearsals, an online practice diary for musicians. If that sounds like the kind of thing you’re interested in, and you have Mac OS X 10.6 or newer, then please download the beta release and test … Continue reading

Posted in cocoa, metadev, rehearsals, test | Leave a comment

How to hire Graham Lee

There are few people who can say that when it comes to Cocoa application security, they wrote the book. In fact, I can think of only one: me. I’ve just put the final draft together for Professional Cocoa Application Security … Continue reading

Posted in book, Business, cocoa, conference, CoreData, iPad, iPhone, Java, kernel, macfuse, mach, nextstep, objc, openstep, UNIX, xcode | 2 Comments

On multitasking

TidBITS unwittingly hits the nail on the head while talking about iPad OS multitasking (emphasis added): It’s easy to imagine wanting to use an iPad to read text in Mobile Safari, copy some text to a Pages document, and send … Continue reading

Posted in iPad, iPhone, rant, usability | 4 Comments

Core Data Haiku competition results!

I was sent a review copy of Core Data: Apple’s API for Persisting Data on Mac OS X by Marcus Zarra. The problem is that I already own a copy. So I held a Core Data Haiku competition on Twitter; … Continue reading

Posted in whatevs | Leave a comment

Unit testing Core Data-driven apps, fit the second

It took longer than I expected to follow up my previous article on unit testing and Core Data, but here it is. Note that the pattern presented last time, Remove the Core Data Dependence, is by far my preferred option. … Continue reading

Posted in cocoa, CoreData, objc, unittest | 6 Comments