How to make a file executable in Cocoa

One of the things I need to do in our MacOS Client is make a file I create executable. It took a little reverse engeineering to do it, so here’s the code if anyone else needs to make a file executable in MacOS X Cocoa. // Set the attributes of the file we’ve just created which is a little clumsy …

Registering URL handlers in MacOS X Cocoa Apps

As a personal hobby project, I’m playing with writing MacOS X applications, which is something I have always wanted to do and am now enjoying now I’ve got over the first frustrating few hours (the breakthrough was realising it was in fact quite like Smalltalk, which I loved). I should preface this with the fact that I really have no …