How to get class name of UIViewController Class in swift
UIViewController
In Objective C, we can do something like this :
self.appDelegate = (shAppDeleg
The cleanest way without needing to know the name of your class is like this.
let name = String(describing: type(of: self))