3 ms·
Objective-C is a superset of C. If there is Objective-C interop, there is by necessity already C interop.
by user-the-name 5y ago
Objective-C is a superset of C. If there is Objective-C interop, there is by necessity already C interop.
- BBC-vs-neolibs 5y ago
- gumby 5y agoThat is not completely true. There could be object round trip support between objective c and swift objects which would not be available through a C interface. Consider ObjectiveC++ as an example.
- jb1991 5y agoYou are talking about something different, I think. Of course, if you need Objective-C features, you don’t get those from C. But if you simply need C features, you don’t need Objective-C just for that. In the context of a C api exposed over C++, objective C is not necessary.