在@implementation后面只有一行,在Objective-C上使用Uncrustify进行@interface?

时间:2014-03-07 13:14:58

标签: objective-c uncrustify

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之前的额外行

0 个答案:

没有答案