newbie help
I have never really created a real application with a gui. I am trying to create an alarm clock for my mac and I think the greatest problem I and facing conceptually is with multithreading (never done it before). For an alarm clock how would I set up the threads. Should I have one thread control the basic interface and another thread keep checking the next alarm to see if it should be fired. If the alarm needs to eb fired the worker thread would send the graphics thread a message to play alarm sound??
I plan on using eyetunes to integrate itunes music as alarm sounds. I was also thinking of using NSdate and NScalendar to setup repeating alarms and scheduled one time alarms.
Does that sound about right to make this little program.
|