swift2 - Replacement for _stdlib_getDemangledTypeName() in Swift 2.2 -


the latest release of swift 2.2 removes _stdlib_getdemangledtypename().

what options replace this?

i'm using in debug messages this:

let debugstr = "\(_stdlib_getdemangledtypename(self)) -> \(self.versionstring) (\(self.versioninfo))" 

you can pretty descriptions of type names through string initialiser. should suffice replacement _stdlib_getdemangledtypename.

example:

string(self.dynamictype) 

Comments

Popular posts from this blog

Receive udp packets in android gstreamer -

php - Extract Text from HTTP referer -

java - Callback from new thread to class from which thread was initiated -