Are Swift dynamic libraries backward compatible with older swift version projects

后端 未结 1 457

I\'m starting to work on a SDK from scratch. I\'m not really sure if I should write it in Swift or Objective-C. I feel Swift is better than Objective-C in many aspects, but my m

相关标签:
1条回答
  • 2021-01-21 16:50

    Simply put, the first quoted statement is false (currently).

    The Swift ABI (application binary interface) is not finalised. The ABI is the set of conventions for how function calls look, how variables and references are stored in a real machine etc. Until it is finalised, all Swift modules in an application have to be compiled with the same version of Swift.

    For more information on the Swift ABI, see the Swift ABI Manifesto.

    0 讨论(0)
提交回复
热议问题