Last active
April 17, 2018 16:13
-
-
Save Pegolon/5f4ede320e964b7de8b9551640f3d442 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyClass {} | |
let anObject = MyClass() | |
print("The address of anObject is \(ObjectIdentifier(anObject))") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Log the hex address of an object in Swift.