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 -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -