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

authentication - Mongodb revoke acccess to connect test database -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

r - Update two sets of radiobuttons reactively - shiny -