Is there in objective-C any way to see if it is possible to do a certain task without risking crash the application?
Other languages like javascript have
try
{
//Run some code here
}
catch(err)
{
//Handle errors here
}
is there something in Objective-C? If so, what is the syntax?
thanks.
See Question&Answers more detail:os