Check out example codes for "how to name a variable of a specific type in swift". It will help you in understanding the concepts better.
Code Example 1
var myString: String = "this is a string" var myInt: Int = 123 var myDouble: Double = 3.1415 // 64-bit var myFloat: Float = 3.14 // 32-bit var myArray: [Int] = [3, 54, 12, 0] // can change to any other [type]
Learn ReactJs, React Native from akashmittal.com