title: Swift Filter Nested Array
body: <p>I have a <code>NSMutableArray</code> which it self has many arrays inside it. Inside each array at all index they further had custom objects of class given bellow.</p>
  
  <pre><code>Class User:NSObject{
      var name = ""
      var userName = ""
      var email = ""
      var age = 0
      var gender = ""
      var 
  }
  </code></pre>
  
  <p>I want to filter this nested array with respect to two objects.
  For example if user type some text in searchBar and check that text in that nested array if that text matches with the name or the userName or both.</p>