• A Better Way to Autosize in iOS 8

    iOS 8 provides support for resizable table view and collection view cells using AutoLayout but what if you want to autosize an arbitrary view. For instance, let's say I have a view with a label inside that I want to resize based on content with a maximum width of the size of the screen. In iOS 7 you might have used a combination of preferredMaxLayoutWidth and systemLayoutSizeFittingSize to set a maximum width on the label and find the fitted size. There is now an easier way to do this with systemLayoutSizeFittingSize:withHorizontalFittingPriority:verticalFittingPriority:.

  • First Install

    While installing software on my new Macbook Air I thought it would be interesting to make a list of what applications I installed first and why I use them. Starting over from a clean slate makes me rethink which applications I use frequently and what I need most. Here's a list of the top 10 (interesting) apps I first installed:

  • The Tablet Wars

  • Living in the Cloud

  • The Mind of a Machine