0
我想我這樣的多行的方法調用:可以在Objective-C中Uncrustify縮進多行方法調用嗎?
[self.markAsFinishedButton
setBackgroundImage:[UIImage imageWithColor:[UIColor blueButtonColor] andSize:CGSizeMake(1, 1)]
forState:UIControlStateHighlighted];
但是現在,它看起來像這樣:
[self.markAsFinishedButton
setBackgroundImage:[UIImage imageWithColor:[UIColor blueButtonColor] andSize:CGSizeMake(1, 1)]
forState:UIControlStateHighlighted];
我.uncrustify
文件是在這裏: https://gist.github.com/nickcheng/d107d6f0f74ef381fb8e
BTW,我可以通過使用這樣的配置來獲得正確的縮進:
_tapRecognizer = [[UITapGestureRecognizer alloc]
initWithTarget:self
action:@selector(controlButtonTapped)];
有人可以幫我嗎?謝謝!