Выражение, работающее в отладчике, но не в коде
#swift #url #nsurlcomponents #быстрый #url-адрес #nsurlcomponents Вопрос: Итак, вот мой код: let queryItems = [URLQueryItem(name: "foo", value: "bar")] var urlComponents = URLComponents(string: "http://example.com/fiz") urlComponents?.queryItems = queryItems print(urlComponents?.url?.absoluteString) Напечатанная строка http://example.com/fiz…