Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
裸露我的基本问题。我基本上来自 C/C++ 背景。我想为 iOS 中的特定数据格式开发一个解析器,并在解析到 UI 后发送少量信息。我已经在 C 中解析登录,我的问题是,我可以在 Objective-C 中使用相同的代码吗?
由于 Objective-C 是 C 的严格超集,任何和所有 C 代码都是有效的 Objective-C 代码,所以答案是肯定的。