私はこのコードを持っています:
dispatch_async(dispatch_get_main_queue(), ^{
if (self.adAppearBlockIsAnimated) {
[UIView animateWithDuration:kAnimationTime animations:^{
self.adAppearBlock();
}];
}
});
残念ながら、Uncrustify は次のようになります。
dispatch_async(dispatch_get_main_queue(), ^{
if (self.adAppearBlockIsAnimated) {
[UIView animateWithDuration:kAnimationTime animations:^{
self.adAppearBlock();
}];
}
});
私の設定:
indent_oc_block=true
indent_oc_block_msg = 0
普通に見えるようにする方法誰か知りませんか?ネストされたブロックに余分なスペースがありません。
編集: 今はコメントできません。xCode を使用しています。