Im working on maintained of large project. there is lots of warning(790+). most of theme are **
"variable was written to, but never read/Used".
** i tried one by one fixed but its take too much time. so im looking for fix all warning with any way. if you faced this kind of warning or error please let me know the solution.
Thanks in advance. 🙂
Happy Coding.
2
Answers
Fortunately or not, but as one of Swift compiler collaborators stated, ATM it’s not possible to turn off this warning separately from all warnings: https://forums.swift.org/t/how-to-turn-off-unused-variable-warnings/47356
Select Menu
Editor > Fix All Issues
or press ⌃⌥⌘F.