Starting with Xcode 12, Apple has updated the format of files that we were using to build precise Objective-C to Swift mappings for methods, enums, types, and other types of declarations.
Starting September 2020, we did tremendous work to adapt to Apple's format changes, and gradually integrated new metadata files into our converter.
Since today's update, we are using the most up-to-date Objective-C to Swift mappings, based on the latest Xcode 12.4.
These changes mean an improved conversion of the following entities:
- Method declaration mappings
- Method call mappings
- C-style function mappings
- Type mappings and type aliases
- Implicitly convertible and bridged types
- Class hierarchy
- Enum mappings
- Struct initializers
- Identifier mappings
Upcoming changes
Wondering about upcoming changes to the Swiftify converter?
Later in 2021, we are going to release the following features (and many more!):
- Configurable preprocessor and postprocessor mappings.
- Implementing our own preprocessor to avoid custom macros breaking the conversion.
- Context-based conversion (parse custom headers to pick up renames).
Comments
0 comments
Please sign in to leave a comment.