Print memory address Posted by hasancanakgunduz on January 18, 2018 You need to use %p to print the memory address of an object. Example: NSString *str = @”hasancan”; NSLog(@”%@ %p”,str,str); // prints hasancan 0x100002268 Share this: Share on X (Opens in new window) X Share on Facebook (Opens in new window) Facebook Like Loading... Related