I have 8 NSTextFields and I need to access them by UI to determine if the NSTextField has any data. If it's empty then I mark a bool as NO and check the next field. Eventually I'll highlight all the required fields and present it to the user.

Here's my pseudocode

```
-(BOOL)isFormValid
{
for(int i=0; i< 9; i++)
{
if <tag>.text != nil or <tag>.text != @"" then
return NO
}
return YES;
}

```