To precisely convert your code, the converter needs information about the declared types of all mentioned variables.
Try converting the whole file for best results, or at least include declarations of key variables used in your code.
For example, the following code relies on the declared type of the
tableView variable to be translated correctly.
If you omit the declaration of
tableView, the converter won't understand the meaning of the
hidden property, and would not change it to
isHidden and thus will produce the wrong output.