title: Apply filter in Dictionary of object array
body: <p>I have an class of properties named "EpisodeInfoData"</p>
  
  <pre><code>class EpisodeInfoData {
      var episodeId = ""
      var episodeName = ""
  }
  </code></pre>
  
  <p>I have store objects of these class into an dictionary whose first element is an "String" and another element is an array of "EpisodeInfoData" class objects</p>
  
  <pre><code>var episodes    = Dictionary&lt;String, [EpisodeInfoData]&gt;()
  
  let infoObj1 = EpisodeInfoData()
  infoObj1.episodeId           = "1"
  infoObj1.episodeName         = "one"
  
  let infoObj2 = EpisodeInfoData()
  infoObj2.episodeId           = "2"
  infoObj2.episodeName         = "two"
  
  let infoObj3 = EpisodeInfoData()
  infoObj3.episodeId           = "3"
  infoObj3.episodeName         = "three"
  
  let infoObj4 = EpisodeInfoData()
  infoObj4.episodeId           = "4"
  infoObj4.episodeName         = "four"
  
  let infoObj5 = EpisodeInfoData()
  infoObj5.episodeId           = "5"
  infoObj5.episodeName         = "five"
  
  let infoObj6 = EpisodeInfoData()
  infoObj6.episodeId           = "6"
  infoObj6.episodeName         = "six"
  
  let infoObj7 = EpisodeInfoData()
  infoObj7.episodeId           = "7"
  infoObj7.episodeName         = "seven"
  
  let infoObj8 = EpisodeInfoData()
  infoObj8.episodeId           = "8"
  infoObj8.episodeName         = "eight"
  
  episodes["season1"] = [infoObj1,infoObj2,infoObj3,infoObj4]
  episodes["season2"] = [infoObj5,infoObj6,infoObj7,infoObj8]
  </code></pre>
  
  <p>I want to get the name of season in "episodes" Dictionary whose episodeName is "eight". I have try to apply filter on it it was not working.</p>
  
  <p>Can any some one suggest me anything to find the result using filters without using filters.</p>
  
  <p>Thank You in advance</p>