Unicode Representations of Strings
Swift provides several different ways to access Unicode representations of strings.
You can iterate over the string with a for-in statement, to access its individual Character
values as Unicode characters. This process is described in Working with Characters.
Alternatively, access a String value in one of three other Unicode-compliant
representations:
Each example below shows a different representation of the following string, which is
made up of the characters D, o, g, !, and the