Author Archives: Giuseppe Lanza

About Giuseppe Lanza

Just another Software engineer with 7+ years of experience in iOS development.

Events Driven Architecture in iOS with MERLin

If you are not new to iOS development, you know how important is to correctly decouple app components for testability and overall flexibility. Each feature should work independently from the others. Ideally, each feature should be easily replaceable with another component providing the same functionality. To achieve this result we… Read more »

Enums like never before…

      No Comments on Enums like never before…

A big problem currently unresolved in the swift world is in regards to enums. Filtering and equating enums in swift is verbose and might require some extra helper function or computed var on the enum itself. In HBCDigital I’m currently working with my team to a new reactive framework that… Read more »

Swift Sorting Algorithm

      2 Comments on Swift Sorting Algorithm

Early this year Dejan wrote an amazing article about sorting algorithms. In this article he was comparing common sorting algorithms with the swift sorting algorithm. What we could observe from his conclusion is that swift sorting algorithm is a lot faster than any other concurrent. Now that swift is open… Read more »

Unit tests: What, why, where and when?

Working on big projects with big code base composed mainly of “legacy code“, developer’s biggest fear is to introduce something new that might actually break something old. This fear freezes the project with some pieces of code that remain like engraved in stone because nobody wants to touch them. The… Read more »