Question: I just began coding and I've chosen swift. I have a CoreData database and I use a predicate to display parts of it. It works fine to find a complete expression. 
What can I do to search in the datafield Strasse.name just a part of a string like "\*way". Here is my code:

```
   let myFetschRequest = NSFetchRequest(entityName: "Strasse")
    var filter1 = "searchword"
    var filter2 = "searchword"
    let predicate1 = NSPredicate(format: "name = %@", filter1)
    let predicate2 = NSPredicate(format: "art = %@", filter2)
    var compound = NSCompoundPredicate.andPredicateWithSubpredicates([predicate1,predicate2])
    myFetschRequest.predicate = compound
    let sortDescriptor1 = NSSortDescriptor(key: "name", ascending: true)
    let sortDescriptor2 = NSSortDescriptor(key: "bereich", ascending: true)
    myFetschRequest.sortDescriptors = [sortDescriptor1,sortDescriptor2]
    daten = context!.executeFetchRequest(myFetschRequest, error: nil) as! [Strasse]
    tableView.reloadData()

```

Answer: 
In my case, `refresh` is not working, i try remove the project from eclipse workspace then import it again, finally it work.
Essentially what is happening, is that you change things externally which Eclispse cannot keep track of, hence I am guessing your `.project` file was moved.

A way to solve this is to refresh your project folder, `Project > Refresh`. For more [information](https://stackoverflow.com/questions/4343735/avoiding-resource-is-out-of-sync-with-the-filesystem)

Or try the `refresh using native hooks or polling method` which is described [here](https://stackoverflow.com/questions/14545544/resource-is-out-of-sync-error-when-opening-project-properties-files)

If worst comes to worst I would suggest recreating your project file and copying all the files over to the new project.

I hope this helps