KB Tag: Dictionaries

  • Dictionaries in Swift

    You may know that in Swift arrays to read out a value, you can call it’s index value similar to: var someArray = [“Farhan”, “Syed”, “March”, “19”, “1996”] someArray[0] Instead of remembering the index value that is assigned to each value we can re-write this with a dictionary. By dictionaries, instead of arbitrary numbers you have read…