Category Archives: Blog

Undefined symbols for architecture i386 – Reachability

Today I add the Reachability classes to an app I am working on, added my #import Reachability.h to the correct files and then implemented a method to check if the device was using wifi. When I hit build, I got the following error. Undefined symbols for architecture i386: “_SCNetworkReachabilityCreateWithAddress”, referenced from: +[Reachability reachabilityWithAddress:] in Reachability.o […]

Using Current location in Apple Maps

I was updating one of my iOS apps that used to open up the Maps Application to show directions from the current location to a set of coordinates. Before Apple Maps was introduced we could use “Current Location” as a way for Maps to use the users current location (http://maps.google.com/maps?saddr=Current%%20Location&daddr=51.535455,-0.247557) this no longer works in […]

Add a custom font to iOS app

I recently needed to add a custom font to my iOS app as the standard ones didn’t work for what I wanted. I downloaded a .ttf file, (I used www.dafont.com) and copied it into my Xcode project. The next step is to open your project’s Info.plist and add a new key “Fonts provided by application” […]

UILabel blurry on some views

I recently noticed that in one of my apps I’m working on, some of the UILabels I was using were blurry. This was only obvious on non-retina devices. After a bit of research I found that it was down to using floating numbers to define the frame of the label. Basically, floating numbers use decimals […]

WordPress Site stuck in maintenance mode.

I was updating a plugin on a WordPress site I maintain and the process just stopped working. The site was stuck in Maintenance mode. To get out of maintenance mode I had to delete the file ‘. maintenance’ from the root of the site. Once I had done this the site instantly came back up.