Category Archives: objc

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

NSConference: the aftermath

So, that’s that then, the first ever NSConference is over. But what a conference! Every session was informative, edumacational and above all enjoyable, including the final session where (and I hate to crow about this) the “American” team, who had … Continue reading

Posted in cocoa, conference, iPhone, macdevnet, metadev, objc, security, xcode | Leave a comment

When techs collide

If you’ve ever seen the film Ghostbusters, you’ll know that each of the proton packs was, on its own, very powerful and capable of performing its function. Combine two, by crossing the streams, and rather than something twice as powerful … Continue reading

Posted in cocoa, objc | Leave a comment

Cocoa Memory Management

It becomes evident, thanks to the mass centralisation of the neverending september effect that is stackoverflow, that despite the large number of electrons expended on documenting the retain/release/autorelease reference counting mechanism for managing memory in Cocoa, Cocoa Touch, UIKit, AppKit, … Continue reading

Posted in cocoa, FAQ, gnustep, iPhone, leopard, memory, nextstep, objc, openstep | 3 Comments

better security, not always more security

Today’s investigative investigations have taken me to the land of Distributed Objects, that somewhat famous implementation of the Proxy pattern used for intra-process, inter-process and inter-machine communication in Cocoa. Well, by people who measure whether it’s a performance hog, rather … Continue reading

Posted in cocoa, gnustep, objc, openstep, RPC, security | Leave a comment

Properties about a year on

Leopard has now been out for nearly a year, which means that (publicly) we’ve had Objective-C 2.0 for the same amount of time. At the release many developers were champing at the bit to talk about the new language capabilities[], … Continue reading

Posted in cocoa, objc, ooa/d | 4 Comments

MacDev 2009!

It’s a long way off, but now is a good time to start thinking about the MacDev ’09 conference, organised by the inimitable Scotty of the Mac Developer Network. This looks like being Europe’s closest answer to WWDC, but without … Continue reading

Posted in cocoa, macdevnet, metadev, nscoder, objc, ooa/d, security | Leave a comment

A better bit o’ twitter than the bitter twitter Tommy Titter bought

Just because everyone these days writes a Twitter client: This was actually a quick hack project to make up for the fact that I missed CocoaHeads tonight (due to a combination of an uninteresting phone call, and a decision to … Continue reading

Posted in cocoa, leopard, objc, ooa/d, xml | Leave a comment

Objective-C NAQs

Never-Asked Questions :-) In Code Complete 2 ยง6.5, Steve McConnell presents a list of class-related design issues that "vary significantly depending on the language". So why don’t we look at them for Objective-C? Especially as I can’t find anyone else … Continue reading

Posted in cocoa, FAQ, gnustep, objc | Leave a comment