コード内の特定のポイントでオブジェクトのアドレスを取得するにはどうすればよいですか? 例えば:
NSString * aString = @"bla bla";
//what is the current address of aString. i.e to which address in memory does it currently point to
aString = @"la la la";
//what is the current address of aString.
コード内の特定のポイントでオブジェクトのアドレスを取得するにはどうすればよいですか? 例えば:
NSString * aString = @"bla bla";
//what is the current address of aString. i.e to which address in memory does it currently point to
aString = @"la la la";
//what is the current address of aString.