Demo entry 6732910

test

   

Submitted by anonymous on Apr 16, 2018 at 09:12
Language: Objective-C. Code size: 159 Bytes.

__weak typeof(self) weakSelf = self;
    void (^myBlock)(void) = ^{
        __strong typeof(weakSelf) strongSelf = weakSelf;
        // Do something
    };

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).