|
|
|
|
|
by ratww
2093 days ago
|
|
No, it is accurate. Notice I didn't say interoperability, I said backwards compatibility. Objective-C is a superset of C, so any valid C code is also valid Objective-C code, including all the pitfalls and footguns. This is similar to the relationship between C and C++, however C++ isn't strictly a superset of C. |
|
This phrase isn't entirely clear.
> Objective-C is a superset of C
This phrase is clearer.
In any case, I'm not fully convinced which language has the advantage and which the disadvantage in this case. You still have to call C API in Swift, and it's rather painful.