Demo entry 6347248

py

   

Submitted by anonymous on Feb 14, 2017 at 04:21
Language: Objective-C. Code size: 152 Bytes.

    __weak typeof(self) weakSelf = self;
    [self.chatRoom setRecivedMessageBlock:^(NSArray *data) {
        [weakSelf recivedContent:data];
    }];

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).