2 ms·
typeof(self) __weak weakSelf = self; self.block = ^{ typeof(self) strongSelf = weakSelf; if (strongSelf) { // ... } };
by adamcavalli 13y ago
typeof(self) __weak weakSelf = self;
self.block = ^{
typeof(self) strongSelf = weakSelf;
if (strongSelf)
{
// ...
}
};