std::string is the equivalent of swift string, and you can copy characters from the std::string.
Refer https://developer.apple.com/documentation/swift/callingapisacrosslanguageboundaries sample xcode project that has many examples of strings being passed back and forth.
Topic:
Programming Languages
SubTopic:
Swift
Tags: