Reputation: 7484
Had a NSObject
userInfo
. I removed it (reference only, still have the .h/.m file on the HDD) in Xcode and I created a NSManagedObject
userInfo
.
Xcode still thinks I want the old userInfo
object instead of the new one. How can I let Xcode know there is a new userInfo, is it stored in a cache somewhere?
EDIT:
When I right click the object and select Jump to Definition, it takes me to the old object, not the new object.
Upvotes: 0
Views: 61
Reputation: 1156
userInfo.. is a singleton.... thats why you keep receiving the same value
if you want a different userinfo.. then use 'userInformation' or other identifier.
Upvotes: 0
Reputation: 4042
1.Try cleaning the project(Shift + Command + K).
2.If that does not help, you can reset your simulator.
3.Also try quitting your X-Code & launch the project again.
Upvotes: 1