I am aware of this question regarding how we can get a readable class name of an objective-c class in Swift.
What I want to achieve is getting the readable class name of
Swift 5.1 solution for NSStringFromClass
If you want the string description of a class name (say CustomTableViewCell) use:
CustomTableViewCell
String(describing: CustomTableViewCell.self)