it fixes the issue You can present your ProfileEditViewController, which is styled in your Main.storyboard the following way: 1) Give your ProfileEditViewController a StoryBoard ID. E.g. "ProfileEditViewController" - Some question regarding this is here: What is a StoryBoard ID and how can i use this?
Hope this helps The problem is that you are assuming that the sender in prepare is an instance of the cell but your call to performSegue is passing self as the sender. But self in that case is the view controller, not the cell. The solution is to pass the cell instead of self.