Comment Comment by accatyyc In Objective-C (and some other languages with ternary operators) the same can be written like this: int a = b ?: c ?: 0 parent accatyyc 7 years ago