Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Graphical Predicate Builder in Xcode 4 with Core Data

I am using Xcode 4, and I can't find a way to work with the graphical predicate builder. Is it still there? How do I use it? Where is the documentation on this?

Thanks

like image 870
Jim Avatar asked Apr 12 '11 01:04

Jim


People also ask

How to use core data in Xcode appdelegate?

When creating new iOS project, select Use Core Data Xcode will add some boilerplate code for core data in AppDelegate and create a blank .xcdatamodeld if you tick this option.

How to create a predicatebuilder in Salesforce?

There are 3 ways to create a PredicateBuilder: This method corresponds to the following code: Where (item > true). If we apply this predicate to our employee lists, it will return all employees. The application of a predicate created via PredicateBuilder is explained later in this article.

Is there a predicatebuilder Utopia in SQL Server?

Sadly, this utopia doesn't exist; however, tools are available, including PredicateBuilder that makes things work well with minimal effort. Queries that are consistent, with the same criteria at all times can typically be constructed in a manner that will support complex queries without hesitation.

Is predicatebuilder good for EF queries?

In a perfect world, all of your EF Queries will be simplistic and not require complex logic, and the EF system itself will generate high-quality & performant queries in the process. Sadly, this utopia doesn't exist; however, tools are available, including PredicateBuilder that makes things work well with minimal effort.


1 Answers

In XCode 4, highlight your model, then:

Choose Editor -> Add Fetch Request

enter image description here

Then highlight it (rename if you like). The Predicate Builder is in the right pane:

enter image description here

like image 135
samplebias Avatar answered Jan 04 '23 06:01

samplebias