Guest User

Untitled

a guest
Sep 27th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. let profileAction = UIAlertAction(title: "Go To Profile", style: UIAlertActionStyle.default, handler: { action in self.performSegue(withIdentifier: "followingfeed", sender: self)
  2.  
  3. let dataPass = self.feeds[sender.tag].dataPass
  4.  
  5. func prepare(for segue: UIStoryboardSegue, sender: Any?) {
  6. super.prepare(for: segue, sender: sender)
  7. if segue.identifier == "followingfeed" {
  8.  
  9. let user = dataPass
  10. let controller = segue.destination as? ExploreBusinessProfileSwitchView
  11. controller?.otherUser = user
  12.  
  13. }
  14. }
  15. })
Add Comment
Please, Sign In to add comment