Skip to content

Instantly share code, notes, and snippets.

@reisdev
Created May 16, 2022 14:21
Show Gist options
  • Save reisdev/e13cdd525843ca0135c361cef70b51fa to your computer and use it in GitHub Desktop.
Save reisdev/e13cdd525843ca0135c361cef70b51fa to your computer and use it in GitHub Desktop.
Variáveis em Swift
// 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