我正在开发一个 iPad 应用程序。我们以 XML 格式获取数据。我NSXMLParser
用于解析,所有数据都打印到控制台。如何分别检索值?
另一个问题是如何检查 iPhone 中的内存泄漏?
<Result>
<Movieoftheweek>
<Movie_id>3809</Movie_id>
<Movieoftheweek_img_Url>"http://www.add.com/adogs/11055.jpg</Movieoftheweek_img_Url>
<Movie_Name>Luck</Movie_Name>
<gender>Movie</gender>
</Movieoftheweek>
<Movie_List_in_theater>
<movie_in_theater>
<Movie_id>3809</Movie_id>
<Movie_img_Url>http://www.add.com/adogs/11055.jpg</Movie_img_Url>
<Movie_Name>Luck</Movie_Name>
<gender>Movie</gender>
</movie_in_theater>
<movie_in_theater>
<Movie_id>3809</Movie_id>
<Movie_img_Url>http://www.add.com/adogs/6055.jpg</Movie_img_Url>
<Movie_Name>Luck</Movie_Name>
<gender>Movie</gender>
</movie_in_theater>
<movie_in_theater>
<Movie_id>3809</Movie_id>
<Movie_img_Url>http://www.add.com/adogs/525.jpg</Movie_img_Url>
<Movie_Name>Luck</Movie_Name>
<gender>Movie</gender>
</movie_in_theater>
</Movie_List_in_theater>
<Movie_List_Coming_Soon>
<movie_Coming_Soon>
<Movie_id>3803</Movie_id>
<Movie_img_Url>http://www.add.com/adogs/5000.jpg</Movie_img_Url>
<Movie_Name>Kode</Movie_Name>
<gender>Movie</gender>
</movie_Coming_Soon>
<movie_Coming_Soon>
<Movie_id>3803</Movie_id>
<Movie_img_Url>http://www.add.com/adogs/5900.jpg</Movie_img_Url>
<Movie_Name>Kode</Movie_Name>
<gender>Movie</gender>
</movie_Coming_Soon>
<movie_Coming_Soon>
<Movie_id>3803</Movie_id>
<Movie_img_Url>http://www.add.com/adogs/5500.jpg</Movie_img_Url>
<Movie_Name>Kode</Movie_Name>
<gender>Movie</gender>
</movie_Coming_Soon>
</Movie_List_Coming_Soon>
</Result>