Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
- if segue.identifier == "segue" {
- let destinationVC = segue.destination as! ViewControllerWeather
- destinationVC.selectedWeather = code
- destinationVC.selectedWeatherInt = indexnum
- }
- }
- func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
- let dfa = arr[section]
- return dfa
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement