Fast printing variable memory address

Is there anyway to simulate the [NSString stringWithFormat:@"%p", myVar] code in the new swift language ?

For example:

let str = "A String"
println(" str value \(str) has address: ?")
This question and all comments follow the "Attribution Required."

All Answers

Answers Loading...
Leave a Reply
You must be logged in to post a answer.