That's logical, it is the same, just put in a long logical test what was in a series of if else.
The main difference is a question of readability.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: