paint-brush
A Guide to Understanding Variables in Swiftby@ishaanbedi

A Guide to Understanding Variables in Swift

by Ishaan Bedi4mJanuary 31st, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In today's article, we'll be looking at the concept of variables in Swift. In any programming language, a programmer learns about variables in the initial days of learning that language. A variable refers to a storage location we reserve in the computer’s memory for some data or value to store that we can change freely & manipulate as per our program's requirements. To declare a variable, we use the `var` keyword, followed by the name we want to give to that particular variable, and assign it to something we want this particular variable to store in the memory.

People Mentioned

Mention Thumbnail

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - A Guide to Understanding Variables in Swift
Ishaan Bedi HackerNoon profile picture
Ishaan Bedi

Ishaan Bedi

@ishaanbedi

i hack shit together

About @ishaanbedi
LEARN MORE ABOUT @ISHAANBEDI'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Ishaan Bedi HackerNoon profile picture
Ishaan Bedi@ishaanbedi
i hack shit together

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Buzzsumo
Learnrepo
Coffee-web
Poast