79724346

Date: 2025-08-03 22:18:00
Score: 5
Natty:
Report link

I have built the C code with the CLang compiler.

How do I tell the Swift Code about the foo symbol? That kind of is my question.

In XCode on the Mac you just include a c file in the project and voila! It ask you if you want to have a bridging header, you say yes and it's done.

oh well, I have been doing some reading since yesterday and realize that I have to do some kind of package, and that I have to know how git works as well. I have seen a number of posts but it is clear as mud. Looks lot more complicated than to learn Swift in the first place :(

Reasons:
  • Blacklisted phrase (1): How do I
  • Blacklisted phrase (1): I have to do
  • Blacklisted phrase (1): :(
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user31204927