func tableView()

in DemoProjects/NowPlayingView/NowPlayingView/SpeedPickerViewController.swift [63:72]


    func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCell(withIdentifier: cellIdentifier, for: indexPath)
        cell.textLabel?.text = String(format: "%.1fx", podcastSpeeds[indexPath.row].value.floatValue)
        if indexPath.row == selectedIndex {
            cell.accessoryType = .checkmark
        } else {
            cell.accessoryType = .none
        }
        return cell
    }