title: using 720p, 1080p as enum in swift
body: <p>I want to use 720p, 1080p as enums in swift. However, I can't. I got an error saying "Expected a digit after integer literal prefix"</p>
  
  <pre><code>enum ASResolution {
      case lowResolution
      case 720p
      case 1080p
      caee highResolution
  }
  </code></pre>
  
  <p>What should I do?</p>
  
  <p>I revised my code as below:</p>
  
  <pre><code>enum ASResolution:Int {
      case low = 1
      case HD = 720
      case fullHD = 1080
      case high = 2000
  }
  </code></pre>