blob: 968aad5ad73919c8be17f74cacb35b17e7b8bfef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#import <Foundation/Foundation.m>
@implementation MyViewController
- (void)method1 {
__weak __typeof(self) weakSelf1 = self;
__weak typeof(self) weakSelf2 = self;
__weak MyViewController *weakSelf3 = self;
NSString *srcStr = [[NSString alloc] initWithBytes:kShaderSource length:sizeof(kShaderSource) encoding:NSASCIIStringEncoding];
}
@end
|