Skip to main content
Swiftify Help Center home page
Submit a request
Sign in
  1. Swiftify
  2. Documentation
  3. Conversion Options

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 static methods and global variables outside of class)
  • Add '@objcMembers' attribute to all class declarations
  • Convert all strings containing '\n' to multi-line strings in Swift
  • 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
  • Change property names to lowerCamelCase
  • 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
Swiftify
Powered by Zendesk