I have the following code:
[GetUserData getUserDataWithBlock:^(UserData *userData, NSError *error)
{
self.userData = userData;
#1 self.userData.fbUser = user;
// Call REST API of server 'GetAllWords'
[GetAllWords getAllWordsWithBlock:^(NSSet *newWords, NSError *error)
{
[self saveAllWords:newWords];
#2 [self showRootView];
}];
}];
The problem is, that self.userData is correctly set in #1 (and is not null), but when I'm getting to #2 - self.userData becomes null...
Point #1 is the only place where I set self.userData.


until you get to a point in your code you recognize.