You have to use UIAlertView as below
var rowData: NSDictionary = self.tableData[indexPath.row] as NSDictionary
var name: String = rowData["trackName"] as String
var formattedPrice: String = rowData["formattedPrice"] as String
var alert: UIAlertView = UIAlertView()
alert.title = name
alert.message = formattedPrice
alert.addButtonWithTitle("Ok")
alert.show()