Reputation: 483
I am making an iPhone app. I have a code that is in C. The C code contains a lot of pointers and global variables. I want to use this C code in my objective-c project. Can anybody please help me with this?
Upvotes: 2
Views: 744
Reputation: 34034
Objective-C is a perfect superset of C. Just add the file to your Xcode project like you normally would.
Upvotes: 6