Check out example codes for "swift how to make a variable". It will help you in understanding the concepts better.

Code Example 1

// To create a variable type 'var' 'varName' = '"String" or Int'
var wallet = 100
var name = Joe

Learn ReactJs, React Native from akashmittal.com