Reputation: 1307
Is there any command which shows the decription of the error on xcode console. When we debug the application and if there is some error on the console and i want to see the error decription. Tell me the command. Thanks in Advance
Upvotes: 0
Views: 298
Reputation: 9212
If you mean an NSError object, you can use the following:
NSLog(@"Bummer: %@", [error localizedDescription]);
Upvotes: 1