2 Replies
      Latest reply: Oct 17, 2016 4:38 AM by Alex Buratynskyi RSS
      Alex Buratynskyi Level 1 Level 1 (0 points)
        1. Hello community.
        2. I have an error with "where" statement in this tutorial
        3. Xcode expects some semicolon ";" but it isn't there on official site.
        4. i have latest Xcode version.
        5. Please help, thanks in advance.
        var optionalHello: String? = "Hello"
        if let hello = optionalHello where hello.hasPrefix("H"), let name = optionalName {
          greeting = "\(hello), \(name)"
        }