Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jagatnibas

macrumors regular
Original poster
Jul 28, 2008
126
0
Hi All,

I am using an existing c code. I have added them to my project and compiled successfully. Now I want to call a certain function from my viewdidload function of the view controller . Is it possible ? what is the right approach ?

--Jagat
 
Hi All,

I am using an existing c code. I have added them to my project and compiled successfully. Now I want to call a certain function from my viewdidload function of the view controller . Is it possible ? what is the right approach ?

--Jagat
Yes, it's possible. Call the C code as if it's C code.
 
You can write almost the entire app using standard C. Just call it from the app delegate, or from any other object message. Obj C is just C (with stuff added that you don't need to use at all except to connect with UIKit).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.