Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
  2. if segue.identifier == "segue" {
  3. let destinationVC = segue.destination as! ViewControllerWeather
  4.  
  5. destinationVC.selectedWeather = code
  6. destinationVC.selectedWeatherInt = indexnum
  7. }
  8.  
  9. }
  10.  
  11. func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
  12. let dfa = arr[section]
  13. return dfa
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement