OOP the Easy Way
Object-Oriented Programming the Easy Way: a manifesto for reclaiming OOP from three decades of confusion and needless complexity.APPropriate Behaviour
APPosite Concerns
FSF
Category Archives: cocoa
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
CocoaHeads Swindon is this Monday!
The town of Swindon in the Kingsbridge hundred, Wiltshire is famous for two things. The first is the Wilts and Berks Canal, linking the Kennet and Avon at Trowbridge with the Thames at Abingdon. Authorised by act of parliament in … Continue reading
Posted in cocoa, iPhone, macdevnet, Talk
Leave a comment
NSConference videos
Scotty and the gang have been getting the NSConference videos out to the public lately, and now sessions 7-9 are available including my own session on security. The videos are really high quality, I’m impressed by the postproduction that’s gone … Continue reading
Posted in cocoa, conference, macdevnet, security, Talk
Leave a comment
Refactor your code from the command-line
While the refactoring support in Xcode 3 has been something of a headline feature for the development environment, in fact there’s been a tool for doing Objective-C code refactoring in Mac OS X for a long time. Longer than it’s … Continue reading
CocoaHeads Swindon tonight!
For those of you who’ve never explored the delights that the fine city of the Hill of Pigs has to offer, tonight offers an unparalleled opportunity. Come and sit in (or outside, weather permitting) a pub only a short distance … Continue reading
Posted in cocoa, cocoaheads, webkit
Leave a comment
KVO and +initialize
Got caught by a really hard-to-diagnose issue today, so I decided to write it down in part so that you don’t get bitten by it, and partly so that next time I come across the issue, I’ll remember what it … Continue reading
Posted in applescript, cocoa, objc
1 Comment
WWDC wind-down
As everyone is getting on their respective planes and flying back to their respective homelands, it’s time to look back on what happened and what the conference means. The event itself was great fun, as ever. Meeting loads of new … Continue reading
Posted in carbon, cocoa, conference, darwin, nextstep, WWDC
2 Comments
Unit testing Cocoa projects in Xcode
Unlike Bill, whose reference to unit testing in Xcode 3.0 is linked at the title, when I started writing unit tests for my Cocoa projects I had no experience of testing in any other environment (well, OK, I’d used OCUnit … Continue reading
Posted in cocoa, objc, unittest, xcode
Leave a comment
On dynamic vs. static polymorphism
An interesting juxtaposition in the ACCU 2009 schedule put my talk on “adopting MVC in Objective-C and Cocoa” next to Peter Sommerlad’s talk on “Design patterns with modern C++”. So the subject matter in each case was fairly similar, but … Continue reading
Posted in C++, cocoa, conference, objc, ooa/d
2 Comments