是否有任何方法可以禁用自动缩进Xcode执行以在将长方法名称分成多行时对齐冒号?
也就是说,我宁愿没有这个:
UIBarButtonItem *longDescriptiveButton = [[UIBarButtonItem alloc] initWithTitle:@"Title of Button"
style:UIBarButtonItemStyleBordered
target:self
action:@selector(longDescriptiveButtonClicked)];
Run Code Online (Sandbox Code Playgroud)
正如您所看到的,当变量/方法/类名称很长时,它看起来很糟糕.
我可以在NSSortDescriptor中使用内部ID变量或时间戳来按插入顺序检索Core Data实体吗?
如果有更清洁的方式,我宁愿不必创建这样的属性,但如果没有其他选择,显然会这样做.