Created
May 16, 2022 14:21
-
-
Save reisdev/e13cdd525843ca0135c361cef70b51fa to your computer and use it in GitHub Desktop.
Variáveis em Swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Declarações únicas | |
var x = 0 | |
var valido = true | |
var meuTexto = "Este é um texto" | |
// Declarações múltiplas | |
var x = 0, y = 10, z = 100 | |
var string1 = "Primeira string", string2 = "Segunda string" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment