File this under more Xcode 9 oddities – a viewcontroller can work perfectly fine one moment, then the next out of the blue, Xcode will throw the following sort of error:
A “Product > Clean” seems to take care of this easily enough, but really hope Apple can get Xcode bugs like these sorted out by the next revision.