title: Cannot convert value of type 'Int' to expected argument type 'string' in SwiftUI/Playgrounds
body: <p>Kinda of a sequel to <a href="https://stackoverflow.com/questions/70589855/pre-fill-a-webhook-response-into-the-text-field-in-swiftui/70590037?noredirect=1#comment124786400_70590037">my other question</a> that is already answered. Anyway, I have a URL session to send to a webhook. I have already set up the query which are strings, but one I tried to do along with a Stepper control value, and added it to the list of <code>URLQueryItem</code>, and I got a error that says <code>Cannot convert value of type 'int' to expected argument type 'string'</code>. So it turns out the value in the Stepper is actually a interger (or a <code>Int</code> type) and not a String.</p>
  <p>here's the code</p>
  <pre><code>
  struct ContentView: View {
      
      @State private var TweetStatus = &quot;&quot;
      @State private var response = &quot;&quot;
      @State var showAlert = false
      @State var SendToWebhook = false
      @State var StepperValue = 0
      
      var body: some View {
          NavigationView {
              Form {
                  Section(footer: Text(&quot;Test&quot;)) {
                      TextField(&quot;Field to place response data&quot;, text: $response)
                      TextEditor( text: $TweetStatus)
                          .frame(height: 100)
                      
                      // Stepper
                      Stepper(value: $StepperValue, in: 0...10080) {
                          Text(&quot;Duration in Minutes: \(StepperValue)&quot;)
                      }
                      
                  }
                  Section {
                      
                      Button(&quot;Get Data&quot;) {
                          requestTest() { results in
                              response = results
                              if response == &quot;No Data!&quot; {
                                  showAlert = true
                              }
                          }
                      }
                      
                      
                  }
              }
              .alert(isPresented: $showAlert) {
                  Alert(title: Text(&quot;Tweet Sent&quot;), message: Text(&quot;Your Tweet is sent! Your Tweet ID is shown in the field&quot;), dismissButton: .default(Text(&quot;OK&quot;)))
              }
          }
      }
      func requestTest(completion: @escaping(String) -&gt; ()) {   // &lt;--- here completion closure
          if let url = URL(string: &quot;http://requestbin.net/r/dooek323&quot;) {
              
              var request = URLRequest(url: url)
              request.httpMethod = &quot;POST&quot;
              request.setValue(&quot;application/x-www-form-urlencoded&quot;, forHTTPHeaderField: &quot;Content-Type&quot;)
              
              var components = URLComponents(url: url, resolvingAgainstBaseURL: false)!
              components.queryItems = [ URLQueryItem(name: &quot;TweetID&quot;, value: response), 
                                        URLQueryItem(name: &quot;Status&quot;, value: TweetStatus), 
                                        URLQueryItem(name: &quot;PollDuration&quot;, value: StepperValue)]
              
              if let query = components.url!.query {
                  request.httpBody = Data(query.utf8)
              }
              
              let task = URLSession.shared.dataTask(with: request) { data, response, error in
                  if let data = data,
                     let apiResponse = String(data: data, encoding: .utf8) {
                      
                      // IF Completed, these actions are shown below
                      
                      completion(apiResponse)    // &lt;--- here
                      self.showAlert = true
                      TweetStatus = &quot;&quot;
                  } else {
                      completion(&quot;No Data!&quot;)   // &lt;--- here
                  }
              }
              task.resume()
          }
      }
  }
  
  </code></pre>
  <p>So what I am trying to do is to pass the id <code>StepperValue</code> as a string to get it into the <code>URLQueryItem</code>. I can't even use a <code>String(SOMETHING)</code>, to no avail either. I think it's Swift 5.5 so there have to be some code changes to this.</p>