Swift – Immediately Invoked Closures

This makes the 3rd post I’ve done tonight. I know that doesn’t mean anything to most people, but I started off trying to write a post on immediately invoked closures, I got sidetracked. twice. Immediately Invoked Closures are also known in other languages as Immediately Invoked Functions or¬†Immediately Invoked Function Expression (IIFE). But honestly, what…

Swift – Basic Closure Syntax

I’ve already ranted about how Swift is not the one true gospel (over here), but let me reiterate. Swift has it’s problems. I don’t think it’s perfect. There are some things I like about it. One of the things that I love about it is lazy properties. A lazy property is one that will be…