Applies to:
Included in plans:
After converting a typical View Controller class to Swift, one change needs to be made to the UI file (either Storyboard or XIB) to bind a corresponding view object to the Swift version of the class.
Unlike Objective-C, Swift requires the module name to be specified in the Storyboard or XIB file:
The Advanced Project Converter (included in Swiftify for Xcode) automatically changes the module name for the classes that have been already converted to Swift including:
- View Controllers
- Views and their subtypes like UITableViewCell, UICollectionViewCell, etc
You may alter this behavior by unselecting the individual Storyboard or XIB files in the Advanced Project Converter app.
To disable automatically changing the module name only for already converted View and View Controller classes, you can un-check this option under Preferences (⌘+,) => Converter and toggle the corresponding checkbox:
Comments
0 comments
Please sign in to leave a comment.