Variables and @State
When coding we use variables as ‘placeholders’ for many different forms of data. Data can be Booleans ( True / False ), Integers, Strings and even Arrays which are ordered groups of Strings, Integers. Creating Variables Firstly to create a variable one needs to write ‘var’ that denotes a variable that is being created. Then …