I Have UINavigationController and it's root view is UICollectionViewController, Each time i tap on cell in this UICollectionViewController pushes another UICollectionViewController which have a UITextFiled The Problem is when i go back to the root and tap the same cell it's will push WHOLE NEW view, and UITextField is empty.
the thing i want is similar to whatsapp or other chat apps, when open Chat conversation and type something and go back to the same chat conversation the UITextField will have the text i've wrote.
EDIT: this is the code i use to push the controller:
let nextView = self.storyboard!.instantiateViewControllerWithIdentifier("nextView") as! nextViewController
self.navigationController!.pushViewController(nextView, animated: true)
Can i prevent the UINavigationController From pop up the view, and keep it loaded?