Separate names with a comma.
Discussion in 'iOS Programming' started by armyguy26, Jul 2, 2010.
How would you convert a C program to an Objective C program? Thanks.
Objective-C is a superset of C. So, depending on what your code does, you may not need to do much conversion.
What type of conversions would you need to make?
Wirelessly posted (Mozilla/5.0 (iPod; U; CPU iPhone OS 3_1_3 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7E18 Safari/528.16)
What does the program do?
Step 1: rename *.c files to *.m
Step 2: ?
Step 3: profit?
One is a blackjack one and another one is a ask the nerd program.
What kind of UI does these programs have? Command-line input or what?
Well, that part will need to be converted.
So how do I convert it?
You can't do CLI apps on the iPhone. You'd need to use UIKit and write a GUI.