 		return convertDate(postedDatesSections[section])
 	}
 	
-    func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
-        let selectedCell = tableView.cellForRow(at: indexPath as IndexPath) as! FeedTableViewCell
+    func tableView(_ tableView: UITableView, didSelectRowAtIndexPath indexPath: IndexPath) {
+        let selectedCell = tableView.cellForRow(at: indexPath) as! FeedTableViewCell
 		selectedCell.postView.backgroundColor = UIColor.tempoLightGray
 		playerNav.playerCell.postsLikable = true
 		playerNav.expandedCell.postsLikable = true
 		playerNav.expandedCell.postHasInfo = false
-		currentlyPlayingIndexPath = IndexPath(row: absoluteIndex(indexPath as IndexPath), section: 0)
+		currentlyPlayingIndexPath = IndexPath(row: absoluteIndex(indexPath), section: 0)
     } 
 	
 	// Updates all views related to some player

			section += 1
			s += 1
		}
		
		return IndexPath(row: newRow, section: section) as NSIndexPath
	}
	
	// Filter posted dates into dictionary of key: date, value: date_count

				absoluteIndex = absoluteIndex + postedDatesDict[postedDatesSections[s]]!
			}
		}
		return absoluteIndex
	}
	
	func relativeIndexPath(row: Int) -> IndexPath {
		var newRow = row
		var section = 0
		var s = 0
