Latest Articles

Use the navigation at the bottom to see older articles

Disk Space Pie Chart – v0.6 released

I’ve just released a new version of my (totally unpopular) Disk Space Pie Chart plugin for WordPress. The update addresses the background colour of the pie chart which worked well with WordPress 3.7 and below, but now that we have a snazzy new colour scheme in the admin interface, I made sure it still looks … Read more

How to use the iOS 5 Simulator in Xcode 5

If you’re running Mavericks then sadly the iOS 5 simulator is gone for good – both in Xcode 5 as well as Xcode 4.6.3. It appears that the Mavericks kernel is no longer compatible with iOS 5 any more, and we only have access to the iOS 6.0, 6.1, 7.0 and 7.1 simulators. To use […]

P2 Header Ad – v1.3 released

I’ve just released a new version of my P2 Header Ad plugin, adding the following features: added translation readiness added German Translation added Spanish Translation (thanks to Andrew Kurtis from WebHostingHub) verified WordPress 3.8 compatibility You can get the latest version simply by using the WordPress updates (under Dashbaord – Updates), or download it from … Read more

How to test for a (null) string in Objective C

I wanted to test if a string has a value when it’s returned from Core Data. So I thought, the right way to do this was to see if it’s equal to nothing, like so: if ([myString isEqualToString:@””]) { // should be empty… but may not be } But to my surprise this didn’t work […]

How to internationalise and translate your WordPress Plugin

Today I got a lovely request from Andrew over at WebHostingHub.com who asked if he could translate my P2 Header Ad plugin into Spanish. “Of course”, I thought – and then I realised that I knew not much about how to get a plugin translation ready. I knew POEdit of course, but how to make … Read more

How to dismiss a Popover from the current UIViewController

Imagine you’re presenting a view controller in your storyboard via a Popover Segue: Simply drag from a button in your Main View Controller to your Other View Controller, and under segue select “Popover”. Works like a charm: the popover is presented, and if someone clicks outside the popover it is dismissed. Marvellous! Surely we should […]