I am writing this article in the hope to help someone convince their bosses that building a crash report for iOS is far from trivial. It’s also important to state that the following lines are entirely my opinion about this subject, so if at the end of this text you still want to do it, go for it 🤘!
Although it appears to be simple and straightforward, building a crash report will require a lot of knowledge in subjects that are not quite easy to grasp, such as threading, concurrency and memory management. …
É comum no meio corporativo de TI encontrarmos instituições nas quais as finanças vão bem, empregados recebem o salário em dia e projetos surgem a todo vapor. Apesar disso, um dos grandes problemas desse tipo de empresa é que ninguém quer trabalhar lá. E por quê?
Lá não há uma cultura saudável no ambiente de trabalho. São projetos mau organizados, falta de respeito, chefes autoritários, em vez de líderes que se preocupam com a carreira de seus liderados. E os problemas não param por aí.
A nova geração de trabalhadores não liga apenas para o dinheiro. …
Every iOS developer already came up with the problem of boilerplate code once. Whether it is related to verbose architectures or protocol conformances such as Codable, Equatable or simply a init method. The problem exists and can be very time consuming.
This article is a simple tutorial of using Sourcery to generate boilerplate code for us.
Sourcery is a code generator tool for Swift. It works by providing templates and creating protocols that tell Sourcery which template will be applied to each class/struct.
Before trying anything at all, install Sourcery through cocoapods or brew. After that, we need to specify the path where Sourcery will look for the templates, swift files, and where it will output the generated code. …
About