Using Swift and C# together

Are there any examples of projects with Swift and C# classes that talk to each other? The Silver and Fire pages mention that you can use them in the same project, but how do they interact?

Like any other classes written in the same language would. Simply add a .cs file to your swift project, of vice Versa, and start coding. All files get compiled into the same project space, regardless of language; they can all see each other and use each other directly. There’s no “bridging” or the like needed.

Awesome, thanks!

And maybe I will start referring to them as “crimes” :wink:

1 Like