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: 215

Jasonbot

macrumors 68020
Aug 15, 2006
2,467
0
The Rainbow Nation RSA
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.
 

semaja2

macrumors 6502a
Dec 12, 2005
576
18
Adelaide
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.
 

Jopling

macrumors 6502
Original poster
Jul 14, 2004
363
0
Im using interface builder right now and I tried a little bit of cocoa... Im dying.
 

xUKHCx

Administrator emeritus
Jan 15, 2006
12,583
9
The Kop
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.
 

Jopling

macrumors 6502
Original poster
Jul 14, 2004
363
0
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.
 

cazlar

macrumors 6502
Oct 2, 2003
492
11
Sydney, Australia
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.
 

Spizzo

macrumors 6502
Feb 1, 2004
284
0
Pacific NW
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
 

cblackburn

macrumors regular
Jul 5, 2005
158
0
London, UK
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
 

MongoTheGeek

macrumors 68040
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.
 

semaja2

macrumors 6502a
Dec 12, 2005
576
18
Adelaide
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
 

slooksterPSV

macrumors 68040
Apr 17, 2004
3,544
306
Nowheresville
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
 

AlwaysRight

macrumors member
Sep 17, 2006
33
0
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.