Blog

Developing on Mac OS X

New Tool: CertificateHelper

Last fall I got a new iMac that I only use during the Weekends. I’ve just recently noticed that I still didn’t have Code Signing running. I’ve done quite some searching and even tried to debug what codesign does when it tries to match certificates. Only then I noticed that even t…

Automatically Rearrange Your UI on Rotation

Last weekend I’ve started to write my first real iPhone app. At one point I thought that the app worked pretty well in Portrait mode, but it could also work pretty nicely in Landscape mode.…

NSCharacterSet bug in 10.5

I’ve just ran across a pretty unexpected bug in CuteClips. I was using NSCharacterSet to filter a String. This kept locking up some users computers. Turns out this is a bug in Mac OS X 10.5. Snow Leopard doesn’t show this bug so I guess it’s useless to report that to Apple.…

The Debugger has exited with status 1.

Yesterday I encountered a very strange bug/feature in Xcode. I just couldn’t run any application in Release configuration anymore. I always got “The Debugger has exited with status 1.” in the run-log. In debug configuration they worked, without Xcode they worked, in gdb they work…

Xcode Refactorings

I just created yet another class with some instance variables and so missed the functionality of creating accessor methods for these instvars automatically. As I never really looked into the Refactorings of Xcode 3 I didn’t notice that they provide an encapsulation refactoring. U…

The art of linking

Sorry for the bold title, but I’d like to clarify some issue that occurs in latest stage of application building: linking.…

zsh-bashing to rescue the NSLog

Doing some tool that uses a NSTask to launch shell-scripts, I ran into a very annoying bug these days. The script were bash scripts and as soon as they were started, all output written by NSLog didn’t go to Xcode’s console, but rather only to console.log. This problem only seems …

inspecting the Pasteboard: Drop Inspector

Today I thought about a nice and easy way to inspect drag and drop objects or any Pasteboard in general. I ended up creating Drop Inspector, a very simple app that shows you the content of the General Pasteboard if you click on the drop area, or the content of the dragging pasteb…

Icon Composer in 10.5

I just had to create an icon and used the new Icon Composer for this. There’re some really great new features in the new version. Not only that it can create icons like the previous version, it also provides a VERY nice preview panel. You can preview your icon in any size from 1p…

Update on Xcode Templates

Today I got a mail regarding Xcode Templates and it made me look into it again. I was surprised that Apple changed the way Xcode integrates into the system now. Until 10.5 everything was stored in /Library/, but as of 10.5 Xcode uses the folder /Developer/Library/. Everything rel…