For those still thinking that Swiftify is just a simple tool that replaces the syntax, how about this sample?
We did a tremendous job to detect common error handling patterns and move the
if/else code branches into the correct location in the
Try it online, and switch between Swift 5.5 and 5.6.1 to see the difference!
Even complex binary expressions that involve error handling are now supported!
The following sample code:
now produces the following output, breaking the if statement's condition into a
try? statement and an