I have following view controllers in my storyboard
I have created two custom class, which are RegisterViewController.swift
and SignInViewController.swift
, when I select my RegisterViewController
in storyboard, I can see RegisterViewController.swift
being assigned to my registerviewController
, but when I create new custom class called SignInViewController.swift
and when I try to assign it to the SignInview
, it is not getting assigned however it is appearing in my custom class dropdown, just to make sure, if I select assistant editor, I see the RegisterViewController.swift
code but it should be showing SignInViewController.swift
code. What I am missing here?
This how my identity inspector
looks when I select SignInViewController
This is my signinviewcontroller.swift
import UIKit
class SignInViewController: UIViewController {
//code
}