Applies to:
- Xcode Extension
- Finder Extension
- Advanced Project Converter
- Offline Converter
Included in plans:
- Cloud
- Offline Converter
Swiftify now offers the option to avoid if conditions that check a non-optional value with nil. This option is turned off by default. To get more perspective, we can look at the conversion results with this option turned on/off with a sample Objective-C code.
Original Objective-C code:
Converted Swift code with this option turned on:
Converted Swift code with this option turned off:
To toggle this feature, open Preferences (⌘+,) => Converter and toggle the corresponding checkbox:
Comments
0 comments
Please sign in to leave a comment.