![]() ![]() The language is important, because the concept of backward- and forwards-compatibility are relative terms, and the direction of that relativity between compiler and library matters. Part of what might have confused you is the specific language used to discuss these issues. I also found this interesting explanation in this great Apple developer forum answer that explains the relative terms of backward- and forwards-compatibility. swiftinterface file may be using a new syntax that is unknown to older compilers. Module interfaces generated by a given version of the Swift compiler are guaranteed to be imported by any future Swift compiler that supports the -swift-version that it was compiled with. Module interfaces aren't backward-compatible, only forward-compatible. swiftmodule files.Īnd since they behave like source code, future versions of the Swift Compiler will be able to import Module Interfaces created with older versions.
0 Comments
Leave a Reply. |