Category Archives: cocoa

Novel bean incoming

You may remember in July I updated the open source Bean word processor to work with then-latest Xcode and macOS. Over the last couple of days I’ve added iCloud Drive support (obviously only if the app is associated with an … Continue reading

Posted in cocoa | Leave a comment

Reflections on an iBook G4

I had an item in OmniFocus to “write on why I wish I was still using my 2006 iBook”, and then Tim Sneath’s tweet on unboxing a G4 iMac sealed the deal. I wish I was still using my 2006 … Continue reading

Posted in AAPL, carbon, cocoa, darwin, Mac | 1 Comment

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

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

CocoaHeads Swindon, January and February

The next CocoaHeads Swindon will take place on 4th January, at the Glue Pot in Swindon. Get here at 8 for some NSChitChat with your (well, my) local Mac developer community. There is no February meeting of Swindon CocoaHeads, on … Continue reading

Posted in cocoa, cocoaheads, conference, macdevnet | Leave a comment

Next Swindon CocoaHeads meeting

At one time a quiet market town with no greater claim than to break up the journey between Oxford and Bristol, Swindon is now a bustling hub of Mac and iPhone development activity. The coming meeting of CocoaHeads, at the … Continue reading

Posted in Business, cocoa, cocoaheads, iPhone | Leave a comment

Unit testing Core Data-driven apps

Needless to say, I’m standing on the shoulders of giants here. Chris Hanson has written a great post on setting up the Core Data “stack” inside unit tests, Bill Bumgarner has written about their experiences unit-testing Core Data itself and … Continue reading

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