title: filteredArrayUsingPredicate does not exist in swift Array
body: <p>I have "UserDetails" struct objects in array..I want to filter the objects from array. But there is no option for "filteredArrayUsingPredicate" in Swift array.</p>
  
  <p>My array creation</p>
  
  <pre><code>var arrayOfUsers:UserDetails[] = UserDetails[]()
  </code></pre>
  
  <p>my userdetails code is </p>
  
  <pre><code>struct UserDetails{
      var userName:String
      var userID:String
      var userAge:String
      func userDescription()-&gt;String{
          return "name " + userName + "age " + userID
      }
  }
  </code></pre>
  
  <p>my code to create objects </p>
  
  <pre><code>        for a in 1...1000{
              var user:UserDetails = UserDetails(userName: "name", userID: String(a), userAge: "22")
              arrayOfUsers.append(user)
          }
  </code></pre>
  
  <p>Now I want to filter <code>arrayOfUsers</code> which one has userID "1".</p>