Alessandro Calciati
Alessandro Calciati

Reputation: 11

Objective-c and Xcode strange behavior

In xcode 4.3.1, target iPad 5.1 simulator

Upvotes: 1

Views: 137

Answers (1)

Aaron Hayman
Aaron Hayman

Reputation: 8502

Are you using the LLDB debugger? Currently it doesn't give you correct values on iVars in the simulator. Switch back to GDB and you'll find the correct values reported. I discovered this behavior here: UIViewController subclass can't assign instance variable.

And yes, I reported a bug. I got a response back from Apple stating it is a known issue.

Upvotes: 1

Related Questions