Author: matt buckley

Protocol Extensions in Swift 2.0

Swift Protocol Extension with Swift 2.0 expands the reach of protocols. Swift protocol default implementation allows the existing protocols to be extended with additional methods. See how Swift 2.0 works best including the classic way to generate random numbers with arc4random.

Read More

RZAssert Yourself: Supercharge Your Assertions with New Macros from the Fine Folks at Raizlabs

As a codebase grows in size and complexity, every new line of code poses an incremtertally greater risk of breaking existing functionality. For developers working together on a project, the question quickly arises: “how do I not break stuff?” Developers have two core tools at their disposal to mitigate this risk: unit testing and assertions. […]

Read More