0

sorry but I'm a newbie in ios programming. So my question is:

I've a website, and on this website there are some cells with information about the specific car. Now I'm going to put some of this informations, like the price, into a row of the tableview cell with a image. I use to display the image:

imageview.image = [UIImage imageWithData: [NSData dataWithContentsOfURL:[NSURL URLWithString:"link of image"]]];

And I want to display the title from the car, which you can found on the website, on the tableview.

The website is: here

Does have anyone suggestions to do this?

Thanks for help.

kleopatra
  • 51,061
  • 28
  • 99
  • 211
MasterRazer
  • 1,377
  • 3
  • 16
  • 40
  • Please don't call it Xcode programming (and remove the 'Xcode' tag too). It's iOS programming or Objective-C programming or programming using the Cocoa Touch API, but if you used `vi` and `make` to write iOS apps instead of Xcode, the question would not be different. –  Oct 27 '12 at 12:50
  • You can do this by using xml parsing or by using json parsing – Venk Oct 27 '12 at 12:51
  • do u own that site.? or u want to display that data from other's site..? – vishy Oct 27 '12 at 13:19
  • @vishy, actually it runs over a main server called "mobile.de", but I can have acces to the code! Any clue? – MasterRazer Oct 27 '12 at 14:56

2 Answers2

1

use html parsing and get data "use this links" ,example

Community
  • 1
  • 1
NANNAV
  • 4,875
  • 4
  • 32
  • 50
0

Then if you have the access to database, then you can write your own server side code to get the data from database using php generating xml or json data. Have this php code on the server, by using the link your app gets the data from the server in xml or json form.

Then parse these data and display in your app.

You can this tutorial by raywenderlich,

How To Write A Simple PHP/MySQL Web Service for an iOS App

vishy
  • 3,241
  • 1
  • 20
  • 25