title: How to access and make a func inside an enum Swift 3.0
body: <p>I am new to Programming, i have to make a func that is used for
  search of an item, and if the item is found the recipe must be printed. Example:</p>
  
  <pre><code>enum Grocery  {
      case Wine
      case Pork
      case Onion
  }
  enum RecipePorkWithWine: String {
      case Wine = "2 Glasses"
      case Pork = "4 Pieces"
      case Onion= "2 pcs"
  </code></pre>
  
  <p>How to make a func that search in the recipe and if the item is found the recipe should be printed.</p>