-
Lotto
A Test read more
-
vanilla.js document ready event
I often find myself creating simple html webpages for little things. I dont want to use massive javascript libraries, but I sometimes need some functionality from such a library. read more
-
Loop over input files in a script in Build Phases
In my Build Phases I had a custom script which should loop over every input. I am not so familar with bash scripting so there was a little bit of googling and try and error, here I want to share what I ended up using. read more
-
iOS ViewController Url Navigation
To navigate between ViewControllers can be a bit tricky and should be right when the projects starts. The problem is that there a to many ways you can handle navigation and there is no real best practice. So I started experimenting what could be a clean way. What I came up with is a web-like navigation with urls... read more
-
Promises part2
In the article I want to show how to use Promises with Error-Cases. A example will show how we can use a Promise and how it can help to keep your code clean. read more
-
Promises
When I started to get into Promises I watch a lot of talks and read a lot of articles. One line stuck with me and sadly I cannot remember who said it but it goes something like: if you want to understand promises you need to implement one yourself. So instead of implementing the frameworks out there I came up with my own solution. Here I want to show in little steps what I have learnt so far. read more
-
AppDelegate and Single Responsibility Principle
As our Project grew, the AppDelegate got messier and messier. Now the file got 1000+ lines, uncountable delegates and helper methods and no one has any clue what is going on in here. This class is responsible for so many things that it seems there is no way to conform to the Single Responsibilty Principle. On top of that we want to convert the AppDelegate from Obj-C to Swift. We had to come up with a solution ... read more