Conversion Options
Covers all the customization option in detail with code samples.
- Update Xcode project files
- Update Storyboard and XIB files
- Update Bridging Header and PCH files
- Generate a Swiftify Readme file and add it to the Xcode project
- Add forward class declarations to header files
- Add a header including the converter version number at the top of converted files
- Skip `if` statements that compare a non-optional variable with `nil`
- Reorder top-level declarations (place global variable declarations at the top)
- Add '@objcMembers' attribute to all class declarations
- Convert all strings containing '\n' to multi-line strings in Swift
- Change Xcode project type from "static library" to "dynamic library"
- Always use fully qualified enum values
- Initialize properties without initializers with default values of their type
- Initialize variables of String and collection types with empty literals by default
- Always explicitly specify type name in variable declerations (never infer type names)
- Append 'is' prefix to boolean properties
- Omit needless words from property names
- Optional specifier to be used for pointer type method parameters and return types
- Access modifier to be used when converting 'protected' Objective-C instance variables