I am quite confused about how to change an instance variable inside of a block.
The interface file (.h):
@interface TPFavoritesViewController : UIVie
Your assignment to refreshing is an implicit reference to self, it is shorthand for:
refreshing
self
self->refreshing = YES;
hence the cycle warning. Change it to:
temp_self->refreshing = YES;