title: How to use UIInterfaceOrientationMask
body: <p>I've been trying to use UIInterfaceOrientationMask in my Swift code. In Objective-C, I would use it as an enum, and when I needed to use, for example, the portrait mask, I would simply use <code>UIPortraitOrientationMask</code> in my code, like so:</p>
  
  <pre><code>NSUInteger orientations = UIInterfaceOrientationMaskPortrait;
  </code></pre>
  
  <p>I'm not quite sure what I'm supposed to do with the documentation, and I haven't been able to find anything about a "Raw Option Set" anywhere in the tutorial book or the documentation.<img src="https://i.stack.imgur.com/Wl7zy.png" alt="enter image description here"></p>