Category Archives: Blog

iOS – Check if wifi is being used

In an app I was making recently I wanted to check if the user was using a wifi connection. I used the method below to check and just checked whether it returned true or false. – (BOOL)networkCheck{ Reachability *currentReachability = [[Reachability reachabilityForInternetConnection] retain]; NetworkStatus networkStatus = [currentReachability currentReachabilityStatus]; [currentReachability release]; switch (networkStatus) { case NotReachable: […]

NGTabBarController for iOS

A custom TabBarController which can be positioned on the bottom, top, left or top. Utilizes iOS 5 Containment API if possible, but works on iOS 4 too. The TabBar is fully customizable with a tintColor or background image as well as the possibility to show/hide the item highlight and the possibility to change the text […]

iOS Launch Images

When creating a new universal IOS app you need to create a minimum of 6 launch images to support the iPhone and iPad (both including their retina displays). For the iPhone you have it easy, only 2 are required. Default.png – 320 x 480 Default@2x.png – 640 x 960  For the iPad there are a […]

Mime Types (especially for Web Fonts)

I am regularly having to go in search of mime types for web fonts, so thought I would put them here so I will know exactly where to go for them. .eot      application/octet-stream .woff     application/x-font-woff .svg      image/svg+xml .ttf        application/octet-stream Feel free to add more mime types below that […]