There are six basic types of data types in Swift programming. Character The character data type is used to represent a single-character string. We use the Character keyword to create character-type variables. For example String The string data type is used to represent textual data. We use the String keyword to create string-type variables. …