Skip to content

{ Tag Archives } Xcode

Down the Rabbit Hole: Four Years On

Today was my four year anniversary working on developer tools at Apple. No regrets about taking the red pill here!

Also tagged ,

Unit testing Cocoa user interfaces: Cocoa Bindings

About a year ago, I wrote about unit testing target-action connections for Cocoa user interfaces. That covers the traditional mechanism by which user interfaces have typically been constructed in Cocoa since the NeXTstep days. However, with the release of Mac OS X 10.3 Panther we’ve had a newer interface technology available — Cocoa bindings — […]

Also tagged , , , , , , , , ,

Easily speed up your Xcode builds

A lot of developers don’t heavily modify the projects they instantiate from Xcode’s templates. This is a shame, because not only is it a great way to learn Xcode in depth, it’s also a great way to ensure your projects build as fast as possible! To that end, then, here are two simple tips that […]

Also tagged , ,

Unit testing Cocoa user interfaces: Target-Action

It’s really great to see that a lot of people are adopting unit testing for their projects and dramatically improving their quality. Test-driven development and agile development methodologies built around it are really taking off. However, a lot of people still feel that their user interface is difficult to test through code, and either requires […]

Also tagged , , , , , , , , ,

“Enterprise” thought leadership?

David Heinemeier Hansson, creator of Rails at 37signals, takes James McGovern — some Java/J2EE author — to task for his über-lame rant against Ruby in the Enterprise in a great post titled Boy, is James McGovern enterprise or what! So by Enterprise, Architect, and Enterprise Architect standards, this gent must be the top of the pop. […]

Also tagged , , , , , , , , , ,

Xcode: Working With Xcode Build Settings

The Apple Developer Connection just posted Working with Xcode Build Settings. It builds on Understanding Xcode Projects: There is a lot of flexibility in the Xcode build system for customization, so you can choose to keep your settings simple or make them as complex as you like. But for most purposes, a basic understanding of […]

Also tagged ,

Xcode: Understanding Xcode Projects

Anyone interested in Mac OS X development should check out the latest Xcode article on the Apple Developer Connection, Understanding Xcode Projects: To become truly proficient with Xcode, whether you’ve been using it for a while or are just starting to make the transition, an understanding of the Xcode user interface and how it is […]

Also tagged ,

Xcode: Debugging Cocoa application unit tests

A couple weeks ago as part of my Unit Testing Series I talked about how to use Xcode to write unit tests for Cocoa frameworks, debug unit tests in Cocoa frameworks, and write unit tests for Cocoa applications. However, I haven’t yet described how to debug your unit tests in Objective-C Cocoa applications. I’ll take […]

Also tagged , , ,

Xcode: Unit Testing Cocoa Applications

Yesterday, I talked about how to add unit tests to Cocoa frameworks using Xcode. There’s only a little more set-up required to add tests to Objective-C Cocoa applications. First, turn off ZeroLink for the application target you want to test. Just as with a framework, your unit tests will be built as a test bundle […]

Also tagged , ,

Xcode: Debugging Cocoa framework unit tests

So you’ve set up unit testing for your Objective-C Cocoa framework and it’s been working great. But now you’ve written a test and it fails, and you can’t figure out why. It’s time to break out the debugger, but how, exactly, do you do that? Your unit tests are built as a bundle, and you […]

Also tagged , , ,