Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let profileAction = UIAlertAction(title: "Go To Profile", style: UIAlertActionStyle.default, handler: { action in self.performSegue(withIdentifier: "followingfeed", sender: self)
- let dataPass = self.feeds[sender.tag].dataPass
- func prepare(for segue: UIStoryboardSegue, sender: Any?) {
- super.prepare(for: segue, sender: sender)
- if segue.identifier == "followingfeed" {
- let user = dataPass
- let controller = segue.destination as? ExploreBusinessProfileSwitchView
- controller?.otherUser = user
- }
- }
- })
Add Comment
Please, Sign In to add comment