Hacker News new | ask | show | jobs
by adamcavalli 4591 days ago
typeof(self) __weak weakSelf = self;

self.block = ^{ typeof(self) strongSelf = weakSelf; if (strongSelf) { // ... } };