Applies to:
- Xcode Extension
- Finder Extension
- Advanced Project Converter
- Offline Converter
Included in plans:
- Cloud
- Offline Converter
You can now completely turn off type inference and explicitly declare the type of variable or constant every time you convert your Objective-C code to Swift.
Objective-C code:
NSString *myUserName = @"Swiftify";
Converted Swift code with this option turned on:
var myUserName: String = "Swiftify"
Converted Swift code with this option turned off:
var myUserName = "Swiftify"
To toggle this feature, open Preferences (⌘+,) => Converter and toggle the corresponding checkbox:
Comments
0 comments
Please sign in to leave a comment.