What do you mean echo your link. You mean display it to the console?
You already have an NSLog statement in the sample code you posted. Don't you know how to write an NSLog statement? If you don't, how can you possible write a full-featured game with leader boards?
Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.
i have this data's on the php server composed of number,name,score,udid and datetime i want them to be seen in my app as a list.. how am i supposed to do that?? i tried something but i just get the 1st rank and it is like a sentence form..
i have this data's on the php server composed of number,name,score,udid and datetime i want them to be seen in my app as a list.. how am i supposed to do that?? i tried something but i just get the 1st rank and it is like a sentence form..
thanks
You want them "to be seen in my app as a list." What does that mean?
You need to be clear and specific, and so far your posts have been neither.
You want to show the user the information?
Something like this:
"You entered your name as 'Fred jones." Your Id number is 12345. Your score is 10,000. Your UDID is '3a3334eca425fedc3242323224f4ca'."
Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.
i dont want the datetime and the udid to be seen how can i do that ill be putting them in a label.
im sorry if my questions aren't clear enough... im just a newbie... thanks for you help
Do we have to play 20 questions here?
You posted code that got a single player's score, name, UDID, and other stuff, then uploaded it to a server. Originally you said you wanted to echo the link that you were sending to the server.
Now, you're saying that you want to show multiple player's scores on the screen at once. How will you get all these scores? Do you literally want to show
1. player1 score
2. player2 score
Or would "player1" and "player2" really be the player's game name, like "Bob123", or the like? If so, how would you get that information?
Would there be a small enough list of players that they would all fit on the screen at once, or do you want to show them in a scrolling list?
How is this data stored? Would read it from the server? If yes, Do you have a defined format in which it would come down from the server?
I'm about ready to give up on this thread. You need to post clear, detailed information about what you're trying to do, where the info would come from, etc.
Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.