Default Value from Dictionary in Swift
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 […]