iOS Swift - Local Data Persistence
You have an array of dictionaries representing people:
let people = [ ["name": "John", "age": 30], ["name": "Alice", "age": 25], ["name": "Bob", "age": 30], ["name": "Carol", "age": 25] ]How do you filter for people aged 25 and sort them by name ascending using NSPredicate and Swift sorting?
