Swift REPL Optional Bug

Swift REPL Optional Bug from Youtube by Tor Harrington, 69 views

Recommended video:
F1 2011 - New worn option tires at Pitstop (Game bug)
Dan Yelus / Sonria que lo estamos filmando (Prod Reple 369)

Learning Swift and the Swift book example show using ? for an optional variable. Testing this out using the Swift Repl in terminal on Xcode Beta 3. When I set the optional value to a string, the return is still a nil. However if I do the same in a Playground it works as expected.

Related Images