在Uncrustify通过之后,我想要这个代码块:
@implementation MyClass
- (instancetype)init
{
self = [super init];
if (self) {
}
return self;
}
看起来像:
@implementation VICameraOverlayViewController
- (instancetype)init
{
self = [super init];
if (self) {
}
return self;
}
同样适用@interface
@interface MyClass : UIViewController
- (void)initWithBlurSource:(id)blurSource;
@end
至
@interface MyClass : UIViewController
- (void)initWithBlurSource:(id)blurSource;
@end
(是的,之前也有一条额外的线@end
)