title: NS_OPTIONS matches
body: <p>I am trying to implement the following typedef</p>
  
  <pre><code>typedef NS_OPTIONS (NSInteger, MyCellCorners) {
      MyCellCornerTopLeft,
      MyCellCornerTopRight,
      MyCellCornerBottomLeft,
      MyCellCornerBottomRight,
  };
  </code></pre>
  
  <p>and correctly assign a value with</p>
  
  <pre><code>MyCellCorners cellCorners = (MyCellCornerTopLeft | MyCellCornerTopRight);
  </code></pre>
  
  <p>when drawing my cell, how can I check which of the options match so I can correctly draw it.</p>