“Create New File” for MacOS

A nice feature in Windows is the ability to quickly create a blank file in any folder by right-clicking and then selecting from the menu that appears.

MacOS doesn’t seem to offer this functionality, so I created a similar feature, as follows:

Created a new file in my home folder.

nano CreateFile.command

Entered this in the above file:

touch RenameMe

Modified the permissions so I can launch the file from Finder:

chmod a+x CreateNewFile.command

Done! It’s not the most elegant solution, but at least now I can go to my home folder, double-click the CreateFile.command file and I get a new, clean file I can edit and move where I want it.

Coding for iOS

These last few months I’ve been doing a lot of iOS coding. I wasn’t feeling the love for learning yet another language, so my heart was lifted when I discovered Visual Studio for Mac and that I could write in C#. That’s probably where the love ended though…

Don’t get me wrong: I do like developing for iOS – it’s just so… tedious. It’s not helped that Visual Studio for Mac seems to be very buggy and under continual development, then add on that it still relies on a lot of XCode behind the scenes, and Apple keep developing that too. Then, when you’ve finally fought through the IDE bugs, the crazy error messages, having to size a multitude of icons (some with alpha channels, some without), you still have then to fight with certificates, provisioning profiles and the App Store Police.