views:

54

answers:

2

ok guys so i'm new in iphone dev you know it !

I want to add badge from my app : i know how to in the application did finish launching.

But i want to it depending on an int value i have stored in a plist (just one string an int value) i have placed on my server htt://anadress/myplist.plist

How can i read the content of this value in the plist from my server thanks to all it'll help so much

A: 

Why would you want to store the plist file in your server and not in the iphone?

Futur
This really isn't an answer.
Rob Lourens
i was trying to get the purpose, i am not trying to answer and im surprised to read the architecture for the app.Thanks
Futur
That's fine, but if you are just looking for clarification you should add a comment, not an answer.
Rob Lourens
oh ok.. i didnt know that. i am sorry. i will follow this from now. :)
Futur
+1  A: 

Check out the arrayWithContentsOfURL method or the corresponding NSDictionary, NSString, etc methods.

Rob Lourens
thnaks a lot so i have to create an array using arrayWithcontentOfURL
Florent
Just to be clear, it doesn't *have* to be an array, that's just one example of how to load data from a URL. There are similar methods for whatever data structure you are using in your plist.And if this is the correct answer, you can mark it by clicking the checkmark.
Rob Lourens