Skip to content

Instantly share code, notes, and snippets.

@reisdev
Created May 16, 2022 14:24
Show Gist options
  • Save reisdev/24a250c4097f6b44b399cefbdcd103f3 to your computer and use it in GitHub Desktop.
Save reisdev/24a250c4097f6b44b399cefbdcd103f3 to your computer and use it in GitHub Desktop.
Nil em Swift
// Valor "nil" explícito
var meuTexto: String? = nil
// Valor "nil" implícito
var meuTexto: String?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment