// get responseData entriesifvarresponseData=dict["responseData"]as?NSDictionary{ifvarfeed=responseData["feed"]as?NSDictionary{ifvarentries=feed["entries"]as?NSArray{// set array of entriesself.entries=entries}}}//switch to main thread to relad table viewdispatch_async(dispatch_get_main_queue(),{//reload table viewself.tableView.reloadData()})})task.resume()}}