Applies to:
- Xcode Extension
- Finder Extension
- Advanced Project Converter
- Offline Converter
Included in plans:
- Cloud
- Offline Converter
You can now automatically initialize properties and variables of string and collection types with default values while converting your Objective-C files to Swift using Swiftify for Xcode.
This option is turned off by default, turning on this option reduces the number of unwrapping operators in the code.
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.