var visitors = [["age" : 22], ["age" : 41], ["age" : 23], ["age" : 30]]
var filteredVisitors = visitors.filter({
$0["age"] < 30 //access the value to filter
})
println(filteredVisitors)
iOS開發記錄,以及Java, Servlet, JavaScript, CSS, Html, Objective-c, Swift, NodeJS, ExpressJS, React Native, Python..etc
留言
張貼留言