Obj-C objects has two pointers?

ios, objective-c, pointers, xcode

Solution

`object` is a variable that points to a `NSObject` instance. That instance is located in memory at the address you mark #2.

But, the variable itself has to exist somewhere and it's located at the address you mark #1.

Or, to look at it another way, you can write `NSObject *object;`. The content of `object` is address #2, but the location of `object` is address #1.

Problem

What difference between first and second pointer?

Original source