KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Does Objective-C have an even shorter way of writing this line of code? a = b ? b : c; That is, a way to say, a is equal to b as long it is not nil , else c . This is like Ruby's operator ||=
Tags (comma-separated)
Save Edits
Cancel