Why new Xcode versions gives a warning about using self inside a block.
Warning:
Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior
@interface ViewController : UIViewController {
NSString *myString;
}
And the warning hides when we prefix variable name with self->
.
I read there is no difference between directly calling variable & self-> in rmaddy's answer