title: How to store enum into Mutable Array in swift
body: <p>How can I store an enum in a mutable array in Swift please?</p>
  
  <p>Below it is discussed for Objective-C and obviously it is working fine.
  <a href="https://stackoverflow.com/questions/2487587/how-to-store-enum-values-in-a-nsmutablearray">How to store enum values in a NSMutableArray</a></p>
  
  <p>It is stored for int value using <code>array.addObject(0)</code>;</p>