It will take about 1 minutes to finish reading this article.
We can print the memory address of a variable like this:
1 | var a = 100 |
Or using the following method is OK:
1 | func printPointer<T>(ptr: UnsafePointer<T>) { |
It will take about 1 minutes to finish reading this article.
We can print the memory address of a variable like this:
1 | var a = 100 |
Or using the following method is OK:
1 | func printPointer<T>(ptr: UnsafePointer<T>) { |