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

appdevem

macrumors newbie
Original poster
Jan 25, 2011
10
0
Palo Alto, California
Hello all, I am a beginner and have just recently started programing. I was hoping to get some help, I want to create a leader board application that will run on mac osx, which displays the current position of a contestant. If his score changes (due to data input) his position at theleader board changes. How do i do that?

Ideally i would like place where to input a name and data.

thank you
 
You've asked a question (terse though it is), one of many to come. Prepare for a journey covering many subjects and several years.

Or do you actually mean ranking instead of position?
 
Last edited:
Hello all, I am a beginner and have just recently started programing. I was hoping to get some help, I want to create a leader board application that will run on mac osx, which displays the current position of a contestant. If his score changes (due to data input) his position at theleader board changes. How do i do that?

Ideally i would like place where to input a name and data.

thank you

First of all you need to define much more exactly what it is you want to do.

For example:

Will it have a GUI?

How will the position be displayed, numerically or graphically?

Where does the data come from? Internet? GPS? User input? etc.


Break down what the application actually does into small manageable problems. Then you take on, and solve one problem after the other, read up on the information you need as you go.
 
Basically I wan to be able to input several contestants name followed by their time for 4 or 5 different categories. Ranks would be displayed on a visual table of some sort listing their name, and time for the each category. Therefore it would be GUI and the data input would come from the user.

It could be done on excel but I would like for it to be more visual appealing since it will be projected on to a screen while the contestant compete. Also there will be 30+ constants so fast data input would be ideal to display ranks immediately.
 
Ah, ranking of a player and not its position. Much easier than position!

This seems like it requires multiple displays. One for the data entry and another for displaying the result.
 
So, the next question - do you really wish to learn to program at the same time you implement your Leader Board or is the solution itself the real goal?

If you wish to provide a solution with minimal programming I'd suggest looking into a higher level programming tool. Perhaps Quartz Composer which is installed with Xcode.
 
You will need a backend that handles data and sorts it. That is probably the easiest part, just store the data in a data structure, sort it, display.

If you want to do this in cocoa, you would probably start in interface builder and using a table view, the back end logic would be essentially the same.

I agree with lloydean that you would need two displays, one for input and one for displaying the results. Have a look at Kiosk Mode programming on how to get full screen here: http://developer.apple.com/library/mac/#technotes/KioskMode/Introduction/Introduction.html

As mentioned, Quartz Composer might be an alternative to doing the display part manually. Just hit: ⌘ Space, and type Quartz Composer

You will be asked to select a template, choose "Getting Started" instead to find learning material.

Also, when is the deadline?
 
Use the "Google" to search for tutorial sites.

I must say "I" don't think you have much of chance of getting something useful within a week no matter how you go about it. I do think your best chance is with Quartz Composer but you'll need to search for tutorial sites.

Perhaps a new discussion thread here on MacRumors!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.