-
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 ⇢
-
Settings Dialogs with Titanium
The handling for prompts for network, location, and other settings is fairly common when building apps. I think we have all written code that verifies a network connection and then prompts the user to check their network settings. For a recent project I encapsulated a network and location prompt into… Read more ⇢
-
CaptiveNetwork Depreciated in iOS9
If you use Network SSIDs in your application you most likely have a breaking change or two in store for you in upgrading to iOS9. Most likely you are using a block of code that looks something like the below to get the current SSID of the device. A quick… Read more ⇢
