0

I'm suddenly getting two errors here with SQLite.swift that don't seem to make any sense given the circumstances.

I had the same way of doing things working just now but now it's saying it expects a String argument? Nothing here takes a String argument and there's no subscript either.

Code snippet

OK. prepare takes a String, but according to the documentation I should be able to pass it venues.filter(!closed) or just venues.

Alper
  • 3,424
  • 4
  • 39
  • 45
  • OK. I got it fixed. Something somewhere else was wrong and it was cleared up by splitting the thing up into separate variables. Programming with closures still too difficult for Xcode. – Alper Nov 21 '22 at 00:19

0 Answers0