Passing an Array of Strings from Swift to C

Swift has built-in support for bridging native strings to C strings, but this doesn’t include transparent bridging of arrays of strings to arrays of C strings. Here I discuss an internal helper function the Swift standard library uses for this purpose.

Similar

Swift Student Challenge Winners Announced

The WWDC20 Swift Student Challenge gave students around the world the opportunity to showcase their love of coding by creating an incredible Swift playground. Starting today, developers who submitted their applications can find out their status by signing... (more…)

Read more »