Aug 20, 2019, 1:49 PM
I had to take a string like “Name (whatever)” and display it in a label. The Name part should be bold, and anything in parentheses should use the regular font. Pretty simple, I just put the string in a NSAttributedString, find...
Factories and Protocol Composition DI
Apr 23, 2017, 5:37 AM
Especially on iOS it’s often necessary to create new objects like new view controllers or such things. This often cannot be avoided. This usually is solved by having the object that creates new objects also require all the...
Protocol Composition and Dependency Injection
Apr 17, 2017, 9:03 AM
I recently read the article “Using protocol compositon for dependency injection” by Krzysztof Zabłocki. I found this to be a rather interesting technique for doing DI, but when trying to implement it I found it...
Apr 17, 2017, 7:07 AM
Another attempt to write a blog. Lets see how it goes this time.