If you have experimented with Xcode Live Rendering, you have most likely seen errors like these:
error: IB Designables
Failed to update auto layout status: Interface Builder Cocoa Touch Tool crashed
error: IB Designables
Failed to render instance of ProfileAvatarView: The designables agent crashed
Placing breakpoints in prepareForInterfaceBuilder() will for obvious reasons never be hit.
So it is frustrating to get these error messages, when you can not get a better explaination than something crashed.
Live rendering within Interface Builder displays your hand-written UI code within the design canvas, instantly reflecting changes you type in code.
This is unsatisfying for me, since I went all in on Interface Builder when Storyboards and Auto Layout were introduced.
Also I find it strange that Apple has not made it easier to do custom views using nibs.
On monday 2014-06-02 Apple introduced a new scripting-style programming language called Swift. As an iOS developer I find this extremely interesting and looking forward to learn this new language and hopefully boost my productivity :)
Swift introduces a lot of nitfy new functions which makes your life as a developer much easier and hides away the boring details. Here is a showcase of map, reduce and filter.
On a new project I recently joined, I was given the task to implement a feature which involved panning, zooming and rotating a UIImageView.
A straightforward task and something I have done a few times before, so I went and wired up everything in the storyboard and found some old code for handling the three required actions. So far so good.
This is a reboot of my blog and hopefully switching from WordPress to Octopress will make it easier for me to finish all the blog posts I have drafted in the old WordPress install.
I find Octopress more suited for me since it is out of the browser and hopefully less distracting, so far I have only productive plugins installed for Sublime Text 2.
Using the tutorial Create a Blog With Octopress and Host It in Github Pages it was fairly easy to setup my blog on GitHub Pages.
You can find the repository for this blog on mbogh.github.io.
Currently I am working on finalizing two posts.
First one is a tutorial on integrating and using Unity as a component in your app rather than using Unity for every aspect of your app.
The second one is about symbolicating crash reports using LLDB which is useful when symbolicatecrash fails to do so.
I will add an About page when I find the time between changing diapers :)