Here is my attempt at learning swift by creating samples.