August 20, 2017

Saw the new live action Ghost in the Shell the other day. I was pleasantly surprised at how well they managed to capture the feeling of the original anime. That said, it’s a flawed reimplementation for sure. 6.5 / 10 ⭐️

August 14, 2017

Playground Driven Development

First day of work after vacation. Going to take some time to move all of our UI code into a separate framework so that working on individual view controllers that require some specific initial state becomes easier. I think the effort will be well worth it pretty soon.

Seems to work great for the folks over at Kickstarter.

Permalink
August 13, 2017

Added link blog functionality to the site. Does not work “correctly” with RSS at the moment. But JSON feed should be right!

August 13, 2017

Max on the iPhone Pro

My colleague Max is pretty smart and worked out this concept of what the rumoured iPhone 8 might look like with its notch.

I know I’m late to the game. But this gave me a reason to try out my new link blogging capabilities.

Permalink
August 12, 2017

Fixed issues with RSS and JSON feeds on the blog. Hopefully that should sort the micro.blog integrations.

August 12, 2017

Started implementing IndieWeb stuff. Like microblogging, webmentions and that sort of stuff.

August 11, 2017

Watching Atypical on Netflix. It’s pretty good!

July 19, 2016

The Coordinator Pattern

Soroush Khanlou had a very interesting blog post a while back. In it he elaborates on his “coordinator pattern”. Its a very neat pattern in which you make all of your view controllers “flow agnostic”. Ie. they know nothing about the view controller hierarchy, when to push another view controller on the navigation stack, when to present a modal etc. All of that responsibility is delegated to a coordinator object.

Read more...
June 27, 2016

UIStackView with UITextView: Need constraints for Y position or height

Just today I had to replace a UILabel with a UITextView. The label was inside of a UIStackView that had its position pinned to the bottom of another view, hence growing upwards. I’m doing all of this in Interface Builder btw. Just as I let go of the text view I’ve dragged in I see that ominous red circle with an arrow show up. Indicating that there’s some problem with my layout.

Read more...
May 31, 2016

Swift Equatable and Hashable

Swift provides a protocol that you can conform to to let the world know that your objects or structs can be compared and found equal or not: Equatable. There’s also a protocol that allows you to use your objects as keys in a dictionary: Hashable. In an app I’m working on I’m making some of the models (structs) conform to these procotols so that I can make diffing and such when refreshing the UI.

Read more...