Fast printing variable memory address
Is there anyway to simulate the
[NSString stringWithFormat:@"%p", myVar] code in the new swift language ?
let str = "A String" println(" str value \(str) has address: ?")
This question and all comments follow the "Attribution Required."
Leave a Reply
You must be logged in to post a answer.