• Logging Exceptions to Google Analytics Using SwiftyBeaver

    There has been an avalanche of Swift based logging frameworks lately.  After trying several, I found SwiftyBeaver was both flexible and simple enough to move all of my apps onto.  Similar to most of the other logging frameworks, SwifyBeaver is extensible. But, unlike many others, there is no real magic… Read more ⇢

    Logging Exceptions to Google Analytics Using SwiftyBeaver
  • Using OpenURL to launch links in a UIWebView

    UIWebView in great for displaying HTML formatting information in your app.  In many cases you might be displaying fragments you didn’t create opening the door for links your user might action.  By default your embedded UIWebView will follow the link which can lead to an odd user experience.  There are… Read more ⇢

  • 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 ⇢