Possible Duplicate:
Get an object attributes list in Objective-C
I am trying to find a way to iterate through all properties on an object and assign the first non empty property's value to another variable. All these properties are string and i am trying to use isEqualToString:@"" to check each property manually before assigning the first non empty one to another variable. Is there a way to do this efficiently by iterating through each property instead of having if conditionals checking each property individually?