Tutorial swift type data