返回我有這樣的代碼: -(NSURL *)urlOfCurrentlyPlayingInPlayer:(AVPlayer *)player{
// get current asset
AVAsset *currentPlayerAsset = player.currentItem.asset;
// make sure the current asset is an AVURLAsset
我有一個代碼,用於從在線檢索的文章中加載一些縮略圖,並將它們放入一個Article對象中。它看起來像下面這樣: for article in newArticlesArray {
let url: String
if let myGroup = article["group"] as? Dictionary<NSObject, AnyObject>, let m