Quando ho creato un nuovo controller di vista, il suo stile di rientro codice predefinito sembraCome modificare il rientro del codice predefinito in Xcode 4.5?
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view.
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
Posso cambiare le impostazioni in modo che il codice predefinito indentazione assomiglia sotto
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view.
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
Ho provato prima, ma non funziona. Quando creo un nuovo progetto o un nuovo file .m, il rientro predefinito rimane lo stesso. – Daniel