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

Quboid

macrumors 6502
Original poster
Oct 16, 2006
441
0
everywhere
I have been doing programing for one semester now, and well i have a project comming up. i just wanted to know how is it that you implement a graphical interface to a program that you wrote in C. I have written numerous small applications, but i would love to know how to implement graphics for them. Do i have to get a new program to do the graphics or can i do it in the XCODE bundle? Thanks alot guys, any help would be appreciated.
 

oexel

macrumors newbie
Sep 6, 2002
6
0
You have a couple of ways you can do this. You can create the gui using interface builder and use some glue come to simply send commands to the terminal application that you previously built (the way that many people write front ends for command line apps).

The better way would be to start from scratch. Redesign your app and reuse the functions you wrote for your command line apps.

A good place to get started is in the apple developer documentation page. They used to have an introduction tutorial that walks you through building a simple event driven application (currency converter).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.