Swift Logo

Swift 5.1 How to change the value of an existing variable?


Make sure the variable you are trying to change has “var” in front of it. Also you can only change the variable if it is of the same type. String -> String Int -> Int

Read More...
Swift Logo

Swift 5.1 Naming Constants and Variables


Make sure to name your constants and variables with a lowercase letter. If you have more than one word in the name then name the other words with a capital. Do not use: spaces math…

Read More...
Swift Logo

Swift 5.1 How do you place a variable in a string?


In swift, string interpolation is done by placing () within strings. Like this: Video Tutorials – Start Learning

Read More...
Swift Logo

Swift 5.1 How to detect if a Variable is a certain class type


Sometimes you need to know what type an object is when you are coding. Here is how to do it: Video Tutorials – Start Learning

Read More...
Swift Logo

Swift 5.1 Multiple Variables On One Line


You can have multiple related variables on one line

Read More...
Swift Logo

Swift 5.1 Variable


Variables are declared with the intention of changing their value. Video Tutorials – Start Learning

Read More...