This worked in Swift2, but now in Swift3 (after automatic conversion) I get an error message:
if self.entry["scheduler"] || self.entry["owner"]
Cannot subscript a value of type 'JSON' with an index of type 'STRING'
Self.entry ["scheduler"] values, etc. are logical, but I think the problem is the indices, the "scheduler" and the "owner"
Of course, I refer to other self.entry indexes in the same way and get no errors when building.
xcode updates automatically and I live in a nightmare.
swift3 swifty-json
Works for a living
source share