Apparently it an XCode Feature/Bug.

> On 4 Feb 2016, at 18:24, Jim Ingham <jing...@apple.com> wrote:
> 
> Make sure you aren't inspecting the object before it is initialized.  Xcode 
> prints the dynamic type of variables rather than their static type.  That's 
> pretty useful, e.g. if a method takes an "id" we'll show you the real object 
> passed not just the isa ivar.  But an uninitialized local variable's value 
> will be whatever was in the stack slot that last time this bit of the stack 
> was used.  If that was a pointer to some ObjC object even though the object 
> is not good anymore, if its isa pointer hasn't been overwritten its dynamic 
> type will be the type of the previous object.
> 
> Jim
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to