Dependency Injection and Testing with protocols in Swift

Dependency Injection has been around for quite some time now, in fact most of us are familiar with pre-software dependency injection because at some point in our lives we studies some algebra, or some similar mathematical science where we used variables like x and y to represent changeable values in an equation. In a nutshell … Continue reading Dependency Injection and Testing with protocols in Swift

Bubble Sort with Swift

In this installment of SwiftyAlgos I am taking a look at Bubble Sort. Bubble Sort is largely considered to be one of the simplest of sorting algorithms. It works on the principal of iterative swapping, working programmatically through a collection and swapping value positions until ultimately reaching a point where all of the values are … Continue reading Bubble Sort with Swift