Hey guys,
I am stuck and I am just wondering how to create breakpoint. For example,
I have an if statement and if a certain thing happens I want the method to break so that the rest of the code in that method will not run. Can anyone help please?
Code:
I am stuck and I am just wondering how to create breakpoint. For example,
I have an if statement and if a certain thing happens I want the method to break so that the rest of the code in that method will not run. Can anyone help please?
Code:
Code:
if ([inputName.text isEqualToString:@""]) {
//break code;
}