Using Tuples to do Sorting Operations in Swift

Tuples to do Sorting Operations in Swift example image

Hallo mannen en vrouwen, Leo hier. Today’s topic is how to do Tuples to do Sorting Operations in Swift. We will explore a lot of sorting possibilities using tuples. The sorting operation is pretty straightforward in Swift and can be used automatically with types that conform to comparable. Sorting operations are very important to show […]

Default Value from Dictionary in Swift

Default Value from Dictionary in Swift guide

Hallo vrienden, Leo hier. The topic today is how to have a¬†Default Value from Dictionary in Swift when the searched key is not found. We’ll discuss some interesting and somewhat kind confusing default value getters from dictionaries. Using dictionaries in Swift is easy and straightforward but when you come across some not-so-usual situations, things may […]

The lesser-known Dictionary Initialisers in Swift

Hello witches and werewolves, Leo here. The topic today is Dictionary Initialisers in Swift. Today we’ll explore some Swift Standard Library. It is all about the lesser known Dictionary initializers, recently I discovered that Dictionaries in Swift have 7, yes you read it right, SEVEN different initializers that you can take advantage of on your […]