How to install Mac OS X onto an external drive
How to tweak style code blocks in WP Code Highlight
I love the WP Code Highlight plugin by BoLiQuan. It brings well deserved colour to code blocks wrapped in PRE tags. I use them a lot, but until I discovered this plugin they all looked grey and bland. Since last year I was using them on my iOS Dev Diary and thought since both sites … Read more
How to share your posts on Google Plus publicly via JetPack
I’ve decided to start using Google Plus more in 2014. Thanks to JetPack 2.7 it’s a breeze to publish my posts on Google Plus without having to share them manually. What I’ve noticed though was that by default all my posts were appearing as “privately shared” only. As I’d like the widest audience possible I … Read more
How to display a “spinning wheel” indicator in the centre of your screen
Sometimes you want to tell the user that something’s happening behind the scenes and that there’s no need to panic. While your process is happening you can display a “spinning gear” in the middle of your screen. One way of doing this is via a UIActivityIndicatorView. You can create them in Interface Builder, but it’s […]
How to load a different storyboard depending on screen size in iOS
As much as I appreciate the idea of Auto Layout, I don’t think it likes me very much. In turn, I don’t like Auto Layout very much. The pain and hassle it takes to make several UI elements fit well on a 4 inch screen as well as a 3.5 inch screen regularly drives me […]
How to dismiss the iOS Keyboard when the done button is pressed
It has puzzled many generations how to get rid of the keyboard when the user is done entering text into an iOS text field. There doesn’t seem to be an obvious action we can attach to make this happen. That’s because rather than looking at the keyboard itself, we need to look at what actually […]
Links to the latest Social Icons
Facebook, Twitter & Co. change their brandings every now and again, and every time I need them for a project I keep scrambling to find the official links. Well no more – here’s a list of them all: Twitter: https://about.twitter.com/press/brand-assets Facebook: https://www.facebookbrand.com LinkedIn: http://developer.linkedin.com/documents/branding-guidelines Apple and App Store: https://developer.apple.com/app-store/marketing/guidelines/
How to increase your Build Number automatically every time you build your Xcode Project
Xcode includes something rather magical called the Apple Generic Versioning Tool. With this tool you can increase your Build Number automatically every time you hit “Build and Run” in Xcode. Here’s how you can add it to your project. I’m using Xcode 5.1 here with a new Single View iOS project. But this will work […]