I know setting a variable conditionally is valid:
someProperty = [anObject aFunctionThatReturnsBool]? @"Yes" : @"No";
This question has an answer that details the use of ternary statements in preprocessor macros
#define statusString (statusBool ? @"Approved" : @"Rejected")
and within a string formatting method
[NSString stringWithFormat: @"Status: %@", (statusBool ? @"Approved" : @"Rejected")]
But what about within any method?
[NSNumber numberWithInt:(aVariableThatCouldBeSet)? 100 : 0)];
And conditional method calling?
[anObject aFunctionThatReturnsBool]? [self doThis] : [self doThat];
Bonus points for any other uses not listed.