My questions is simple: Does the compiler recognize a property determined in Interface Builder in code?
Example: I give a UIViewController View a title of “Test Title” in IB and I want to say in code:
if ([self.title isEqualToString:@"Test Title"])
{
NSLog(@"Yes");
}
Will this work? I’m asking in part about this specific example, but also in general using other properties…
Yes. If you test it, you will find that it is true. You can do anything you can do in IB also in code.