2 ms·
The binary ?: operator is great for providing a fallback for NULL pointers, especially in Objective-C where nil is everywhere. Kind of like || in JavaScript.
by pmjordan 14y ago
The binary ?: operator is great for providing a fallback for NULL pointers, especially in Objective-C where nil is everywhere. Kind of like || in JavaScript.