Set a variables value to nil Swift 5.1 Posted by Gerard Grundy Date January 19, 2020 Comments 0 comment If you don’t want to set a default value to your variable you will have to write your variable like this:var myNilVariable: String? Related Tag:Learn Swift Programming|Swift Programming|Swift Tutorials Share: Gerard Grundy Previous post What is a tuple? Swift 5.1 January 19, 2020 Next post When are tuples good? Swift 5.1 January 19, 2020 You may also like Argument passed to call that takes no arguments SwiftUI 5.1 February 15, 2020 Custom Text is being cut off at the top SwiftUI 5.1 February 10, 2020 Comparison Operator Swift 5.1 Challenge January 31, 2020