Skip to content

Instantly share code, notes, and snippets.

@reisdev
Created May 16, 2022 14:25
Show Gist options
  • Save reisdev/7dc15b0be849c7fcb6e0e3b50be4ed0e to your computer and use it in GitHub Desktop.
Save reisdev/7dc15b0be849c7fcb6e0e3b50be4ed0e to your computer and use it in GitHub Desktop.
Atribuindo valores em Swift
// Com tipo definido:
var meuTexto: String = "Esse é um texto"
// Sem tipo definido
var meuTexto = "Esse é um texto"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment