Search
 
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
Name
8+7 =