Is there anyway to simulate the [NSString stringWithFormat:@"%p", myVar]
, from Objective-C, in the new Swift language?
For example:
let str = "A String"
println(" str value (str) has address: ?")
See Question&Answers more detail:osIs there anyway to simulate the [NSString stringWithFormat:@"%p", myVar]
, from Objective-C, in the new Swift language?
For example:
let str = "A String"
println(" str value (str) has address: ?")
See Question&Answers more detail:os