Hee all,
At this moment i'm working on reading locations from a (valid) XML feed.
<locations>
<location>
<title>Supercoop</title>
<category>supermarkt</category>
<adres>Something</adres>
<latitude>52.8982342</latitude>
<longitude>5.2449449</longitude>
</location>
<location>
<title>Thuis</title>
<category>home</category>
<adres>Something</adres>
<latitude>52.223482</latitude>
<longitude>5.248282</longitude>
</location>
</locations>
"No real data in this example"
I use TouchXML for the parsing and that works fine.
My question is: what is the preferred way of processing this information to a MKAnnotation.
I thought about making an object, for example: MyLocation and store it there, but than i have to walk trough lots of MyLocation objects.
Secondly i want that object / annotation be accessible when i use the "calloutAccessoryControlTapped" method so i can access more information than is stored in the annotation when it goes to a detailview for example.
I hope and think you guys can help me out! Thanks!
Rolf