How to Accept Multiple Enum Values in a Property or Method

enum

Every iOS developer has probably come across a property or method in an API that accepts multiple enum values at once, separated by a vertical pipe. How does that work, and how can we do the same?

Continue reading

Advertisements