I learned that Xcode can compile c code, that means can we write whole program in c?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes. Objective C is a strict superset of C. This means that any C code is valid also in Objective C. But most of framework APIs are in Objective C, if you need to call these, you will have to include Objective C code as well. However standard C libraries are supported and even for 2D graphics there are Cocoa classes in C.