I'm very new to Xcode and objective C, I know the basics but I was wondering if you can implement normal C code into objective C in Xcode, I saw somewhere that you can create a C header file and implement that into Xcode?? if that's possible, how would you do that, i'm not very experienced with headers. If that completely wrong I would generally just like to know how to call C functions in objective C (Xcode)
3 Answers
You don't even have to put your C code in a different file, you can simply just write C code in your .m file. The Objective-C compiler accepts C code.
If, at a later time, you would like to figure out how to separate your code into different files and use header files, you can do that too.