To start your adventure in making iOS apps with Swift, it's important to understand both the basic and some more advanced ideas.
var
when you want to make something that can change. Use let
when you want to make something that won't change.Int
(whole numbers), String
(words), and Double
(decimal numbers).if
, switch
, and loops like for
and while
.Getting a good grasp of these ideas is super important for writing Swift code that works well!
To start your adventure in making iOS apps with Swift, it's important to understand both the basic and some more advanced ideas.
var
when you want to make something that can change. Use let
when you want to make something that won't change.Int
(whole numbers), String
(words), and Double
(decimal numbers).if
, switch
, and loops like for
and while
.Getting a good grasp of these ideas is super important for writing Swift code that works well!