开发者

Is it possible to use some C source code in iPhone project?

I found a speech synthesizer that supports many languages (http://espeak.sourceforge.net/index.html). But the source code that is available is written in C.

开发者_如何学Python

What can i do to make it work on iPhone?


Objective-C is a strict super set of C. Which means you can use any C code in your Obj-C project.


Yes, as long as it's been ported to the LLVM C-compiler. You can create a statically linked framework out of it, and then link into your project.

Apple does not allow dynamically-loaded frameworks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜