September 5, 2017

Loading Fonts From an iOS Framework

I’ve spent the last couple of days moving all of the UI code in Meal Plan into a separate framework. Mainly to be able to develop my UI in Playgrounds. Turns out though, that loading fonts from an Asset Catalog in a framework is.. impossible? I could for my life not get it to work. What ever I tried I could not get the font data out of the asset catalog so that I could register the fonts.

Read more...
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. Each view controller becomes completely isolated.

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...