1
코드 서식 지정에 Uncrustify을 사용했습니다.Uncrustify는 LLVM 4.0의 새로운 Objective-C 구문을 지원하지 않습니다.
그러나 Uncrustify는 LLVM 4.0의 새로운 Objective-C 구문을 지원하지 않습니다.
어떻게해야합니까? Uncrustify에 의해 형식의
강령 :
@interface SJTLLVM4Tester()
@property (strong) NSNumber *number;
@end
@implementation SJTLLVM4Tester
-(id)init {
self = [super init];
if (self) {
self.number = @'C';
self.number = @123;
self.number = @0x123ul;
self.number = @-1.2e-3f;
self.number = @YES;
NSDictionary *dictionary = @{@"key1":@1,@"key2":@2,@"key3":@3};
NSMutableArray *array = [[NSMutableArray alloc] initWithArray:@[@1,@2,@3]];
self.number = dictionary[@"key1"];
array[0] = self.number;
}
return self;
}
@end
실행 결과 :