DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SWIFT
Swift How to declare an optional in Swift?
var
someValue
:
Int
?
var
someAnotherValue
:
Int
!
print
(
someValue
)
print
(
someAnotherValue
)
PREVIOUS
NEXT
Tagged:
#Swift
#How
#declare
#optional
ADD COMMENT
Topic
COMMENT
Name
3+9 =
Submit