How to get swift mangled object name
<p>I've learned that swift actually creates a naming method called "mangling" used internally for all objects.</p>

<p>All threads talk about demangling, <strong>but how to actually get the mangled name?</strong></p>

<p>i've tried<br>
1- object_getClass(self)<br>
2- NSStringFromClass(MyClass.self)<br>
but they return the normal class name.</p>

<p>I've found this demangle project..
<a href="https://github.com/mattgallagher/CwlDemangle/blob/master/CwlDemangle/CwlDemangle.swift" rel="nofollow noreferrer">https://github.com/mattgallagher/CwlDemangle/blob/master/CwlDemangle/CwlDemangle.swift</a><br>
is there a mangling project maybe? </p>

<p>Note: Im using swift 3.0.1</p>