How to get class name of UIViewController Class in swift
UIViewController
In Objective C, we can do something like this :
self.appDelegate = (shAppDeleg
A simple way in swift 3 is to write the below code:
for instances:
let className = String(describing: self)
for classes:
let className = String(describing: YourViewController.self)