Re: populating radio stations like iTunes
Re: populating radio stations like iTunes
- Subject: Re: populating radio stations like iTunes
- From: Uli Kusterer <email@hidden>
- Date: Wed, 2 Jun 2010 09:27:05 +0200
On 02.06.2010, at 00:26, Abhinav Tyagi wrote:
> I want to know that how can i get the data and populate a list of stations
> similar to that. I think it sends some request to apple server which returns
> an xml or a plist which can be further parsed to fetch the stations and
> their details. But i dont know what actually i need to send and to which
> server address.
Make your own list, put it on a server as an XML or plist file or so, use NSURLRequest to download it, NSPropertyListSerialization to create an array of it again?
Collecting such lists and keeping them up-to-date is work and costs money, I doubt Apple would appreciate you leeching off their servers (might not even be legal, depending on what country you live in, and Apple may shut it down or change the URL at any time, breaking your app).
That said, I don't know what you're trying to do, but there are tools to dump the raw requests (like IPNetMonitorX or CharlesProxy), which could probably be used to figure out what iTunes is actually doing. But that's like using undocumented API: It may break in spectacular ways at any time.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden