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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -