I would like to know how do I select only a specific table from my CoreData, for example I have 6 fields, and would like to do a select from only information from a single field, could anyone help me?
My current code:
let request = NSFetchRequest(entityName: "Person")
request.returnsObjectsAsFaults = false
request.predicate = NSPredicate(format: "wordEasy = %@", "wordEasy")
do{
let results = try context.executeFetchRequest(request)
print(results)
}