How to get class name of UIViewController Class in swift
UIViewController
In Objective C, we can do something like this :
self.appDelegate = (shAppDeleg
Use String.init(describing: self.classForCoder)
String.init(describing: self.classForCoder)
example:
let viewControllerName = String.init(describing: self.classForCoder) print("ViewController Name: \(viewControllerName)")