Check out example codes for "swift language compiler". It will help you in understanding the concepts better.

Code Example 1

want swift ?
buy mac

Learn ReactJs, React Native from akashmittal.com