Here at WeltN24’s iOS team we like to test. We like it so much that we build our code to be
almost 100% testable. We are able to achieve this by injecting all dependencies through each class’ initializer. One technic to do this is to make use of Swift’s default values.
You can define a default value for any parameter in a function by assigning a value to the parameter after that parameter’s type. If a default value is defined, you can omit that parameter when calling the function.
The best thing about unit testing is the ability to know if our production code works as expected without having to tap around in the Simulator. It is crucial that we receive this feedback fast so we can run the test suite as much as possible. That is even more important when we are practicing TDD.
While running our tests, Xcode firstly launches the app in the simulator like if we were normally running it and thus having the site effect of executing any code we may have in our App Delegate and initial View Controller.
My name is Alex Salom and I currently serve as an iOS Engineer at WeltN24 GmbH in Berlin, Germany.
This website has gone through many incarnations and the one you are seeing is the latest. Previously I went for complex CMSes in horrible and expensive hosting companies. That has changed. What you are seeing now is the awesome Jekyll with a modified theme called Sustain.
Jekyll allows you to build blog aware static websites letting you focus on the content instead of the management.
What should you expect from this site? Swift, iOS, tech stuff -books...