i want to pass data to next view controller but i don't want to move to that view controller. i want to move to another view controller. here is my testing code Home View Controller is the class which i want to send data. and i want to move to another view controller which is moving through segue. this method give me null value to homeviewcontroller
if email.text == em && pwd.text == pw
{
let des = HomeViewController()
des.ema = em
self.performSegue(withIdentifier: "segue", sender: nil)
}