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

Jopling

macrumors 6502
Original poster
Jul 14, 2004
363
0
Besides a pretty basic knowledge of c++ and knowing applescript, how hard would it be for me to learn how to program this app? I just put this together in photoshop.
 

Attachments

  • wakeup.jpg
    wakeup.jpg
    173 KB · Views: 218
Not that I know much about C++ coding or what not, but Damn! That is one sexy alarm clock, I'de use it. Hell I ight just even pay for it. It looks so much better than the one I'm using. If it ever gets off it's feet, remember to have some way to make it wake the computer from sleep. And dont allow it to override system volume.
 
I would say bite the bullet and code it using Obc-Cocoa i mean you can slap applescript in there if you need it for something.
 
Im using interface builder right now and I tried a little bit of cocoa... Im dying.
 
Looks pretty good. You must be a morning person because a highly energetic song like Call on me would really put me in a bad mood for the morning.
 
Looks pretty good. You must be a morning person because a highly energetic song like Call on me would really put me in a bad mood for the morning.

Actually it pisses me off so much because its so loud that I jump out of bed to turn it off immeadiately.


I don't think I'll even be able to figure out how to program this thing. I've been reading tutorials all day and they are all way too basic. I'm going to try and hit up a book store relatively soon. If someone could kind of show me how to get started, that would help the most.
 
I'm no expert, but I'd start simple and build on that. I'd go ObjC/Cocoa too - if you are doing Mac programming you might as well learn it. Those tutorials probably include how to wire up UI things in IB (outlets etc), so definitely read that. Then I'd start by having your timer input fields, and a method in your controller that reads them in when you hit "set alarm", and makes an NSTimer, that fires at the appropriate time. Then you can add on making it play music, etc etc.
 
Damn! That is one sexy alarm clock, I'de use it. Hell I ight just even pay for it. It looks so much better than the one I'm using. If it ever gets off it's feet, remember to have some way to make it wake the computer from sleep. And dont allow it to override system volume.

I second this!!! Looks good! :D
 
This looks like a fantastic app. Unfortunatley I have another programming contract that is completely owning my live (apart from the odd MR forum posting ;)). Maybe I can give it a stab in a few months time

Chris
 
I'm no expert, but I'd start simple and build on that. I'd go ObjC/Cocoa too - if you are doing Mac programming you might as well learn it. Those tutorials probably include how to wire up UI things in IB (outlets etc), so definitely read that. Then I'd start by having your timer input fields, and a method in your controller that reads them in when you hit "set alarm", and makes an NSTimer, that fires at the appropriate time. Then you can add on making it play music, etc etc.

Just about all of this can be done with Applescript Studio. It won't be as fast or robust but it will be far easier for him to write.

Take a look at the tableview tutorial, the countdown timer one and the daily dilbert. Those should give you most of the hooks you need.
 
I would set your goals small to begin with, i mean i didnt start coding MultiAlarm at its last stage, i started at the smallest and easiest now stage *which was hard back then*

I would say look into coding a system to just let you schedule the wake up, then move onto detecting the wake up from sleep and then add the music system etc

I would love to see more free options out there, PM me if you need help
 
I must agree with the previous posters post, when I started to develop MDM - money data manager, I started small. I didn't have file implementation or anything like that when I started, I made it to where I could have the basics, then I moved on to bigger and better things such as a preference pane and all that. So start small:
1 - Develop the alarm clock
2 - Develop one table
3 - Develop more tables
4 - Develop intricate features
5 - Test and fix bugs and develop more items
6...
n - finished
 
wake computer

Does anyone have any idea how to wake the computer from sleep to do somethig like this
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.