title: Swift - Read Google Sheets
body: <p>I'm working on an app that uses Google Sheets as a database, but I can't figure out how to get Swift to read from google sheets.  I've looked through the API website and a few questions on here but I need some help just getting started. So far I have;
      private let scopes = [kGTLRAuthScopeSheetsSpreadsheets]
      private let service = GTLRSheetsService()</p>
  
  <pre><code>    var range = "Form Responses 1!A1:D3"
      let spreadsheetId = "p;;;;;;p;;;;;;;;1LqXa6v75JE8RQQDOI4Z_g8mUT8x0DhsEDwRIaxDN-DU" // Portfolio
      let query = GTLRSheetsQuery_SpreadsheetsValuesGet.query(withSpreadsheetId: spreadsheetId, range:range)
      service.executeQuery(query, delegate: self, didFinish: #selector(displayResultWithTicket(ticket:finishedWithObject:error:)))
  </code></pre>
  
  <p>Which I got from another question on here...
  But 'displayResultWithTicket' is an unresolved identifier. Currently it gets to the last line, and debugging I'm not even sure what to do with the 'query' value. I'm really not even sure if it's reading the correct spreadsheet. How can I tell?</p>
  
  <p>Long story short, I'm lost.</p>