Pobierz liczbę filtrów elementów Swift
let managersCount = peopleArray.filter { (person : Person) -> Bool in
return person.isManager!
}.count
Mobile Star
let managersCount = peopleArray.filter { (person : Person) -> Bool in
return person.isManager!
}.count