-
UIWebView Background Experiments
UIWebView is one of the most useful controls in UIKit and has almost a limitless amount of options you can configure. My use case isn’t all that unique I’m simply displaying snippets of HTML email messages in a full screen UIViewController. The need to set the background color of the… Read more ⇢
-
A simplistic approach to using Google Analytics in your Swift UIViewControllers
I use Google Analytics to collect usage statistics across both my web and mobile applications. There are a few great AngularJS and other libraries that track page usage automatically when a controller is initialized. Using these concepts I wanted to create my own similar approach in Swift. The end result… Read more ⇢
-
Swift handling the back button title
For my current project we’ve got a design requirement that all screens have a simple “Back” button instead of the default text that iOS provides when pushing a new controller. I found that Swift’s inheritance model combined with extensions methods make this simple to implement in a re-usable fashion. To… Read more ⇢
-
Hiding .DS_Store files on your desktop while still showing hidden files
Like most developers the first thing I do when I get a new mac or do a clean install is run the below terminal command to show all hidden files and folders. This is a necessary evil as now I see Dot files on my desktop. For me this is… Read more ⇢
-
Plugin to help fight the DerivedData Junk Drawer
It just takes creating a few example projects and suddenly you have a ton of simulator folders to deal with. Over time this becomes a junk drawer of simulator references to experiments and samples. Toshihiro Morimoto (dealforest) has released the Cichlid Xcode plugin to help combat this. It is super… Read more ⇢
-
Input a code friendly font
We spend so much time in Editors and IDEs something a simple as a more readable font can really make a difference. In looking at a few fonts, I stubbed upon Input. This has become my daily coding font for Xcode. Input is available at http://input.fontbureau.com/ Sample: Read more ⇢
-
Resetting the iOS Simulator
There seems to be several ways to reset or clear the iOS simulator ranging from pressing the “Reset Content and Settings..” button on the iOS simulator from deleting folder under ~/Library/Developer/CoreSimulator/DerivedData. For me the easiest and faster approach for my workflow is to simply issue the below in terminal. Read more ⇢
-
Android orientation locking for Titanium
Locking the orientation of a Titanium Android app if fairly straightforward after you’ve done it once or twice. I thought it would be helpful to outline the steps that I follow to lock several of my applications in a portrait orientation. To start with you first must build your Titanium… Read more ⇢
-
Using IANA Time Zones with NSTimeZone
As part of a recent project I’ve been spending more time then I’d like with time zones. In my case a variety of dates and time zone details are provided by a remote service. Having spent the last few years solving this type of problem with moment.js I was excited… Read more ⇢
