var row = indexPath.row
var rowDict : NSDictionary = self.listVideos.objectAtIndex(row) as NSDictionary
let url : String! = rowDict.objectForKey("imageName") as String!
let dataImg : NSData = NSData(contentsOfURL: NSURL(string : url)!)!
let appName = rowDict.objectForKey("appName") as? String;
let appDescription = rowDict.objectForKey("appDescription") as? String;
plist文件内容
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<array>
<dict>
<key>imageName</key>
<string>http://c.hiphotos.baidu.com/video/pic/item/ae51f3deb48f8c545bc3315739292df5e0fe7fb2.jpg</string>
<key>appName</key>
<string>你没2:小鲜肉</string>
<key>appDescription</key>
<string>邓天晴 刘帅良</string>
</dict>
<dict>
<key>imageName</key>
<string>http://c.hiphotos.baidu.com/video/pic/item/9825bc315c6034a8ee0a64fbc8134954082376e4.jpg</string>
<key>appName</key>
<string>小时代3</string>
<key>appDescription</key>
<string>杨幂 郭采洁</string>
</dict>
</array>
</plist>