Questions tagged [executefetchrequest]

23 questions
0
votes
2 answers

NSPredicate execureFetchRequest not working - possibly due to spaces in string

I am trying to search in CoreData for an object that matches both a recordId and a string name, but it doesn't always find the object. For example, I an searching for an object with id 1000 and name "The Brown Family" (note the 2 spaces between…
guinnessman
  • 433
  • 5
  • 15
0
votes
1 answer

IOS/Objective-C: Load one record from Core Data without loading table first

For a profile screen, I would like to load the equivalent of a detail page from Core Data without having to load a table first. I have an entity/ table of multiple users in core data. But I'm only interested in pulling the profile data on one of…
user4038028
0
votes
1 answer

How do you call executeFetchRequest asynchronously?

I am using Core Data in an IOS application and am experiencing a bottleneck while fetching data. I am calling executeFetchRequests multiple times in a loop to fetch 1 result each time. Each fetch takes a short time, but since I am calling it about…
0
votes
1 answer

executeFetchRequest returns entities from different NSManagedObjectContext

In my app I use two NSManagedObjectContexts, one to store permanent data, the other one just for handling temporary data (so I can work with the NSManagedObject subclasses). When I execute a fetch request after I created a temporary entity in my…
Hannes
  • 3,752
  • 2
  • 37
  • 47
0
votes
2 answers

executefetchrequest causes crash

I am trying to implement Core Data in an iOS 7 app (and have successfully done so earlier). However, when I execute the executeFetchRequest method, the app crashes. The most relevant code is added below: #import…
Jorn
  • 1,054
  • 9
  • 25
0
votes
0 answers

Php fetch Data from MLXCHANGE Listings

I want to fetch listings from: mlxchange.com site which is a platform for realestate agent's, i am working on a project in Wordpress and i want to fetch the listings from this site, i have all credential's of user. we can sign in from…
Bilal
  • 157
  • 1
  • 1
  • 12
0
votes
2 answers

Application freeze while executing fetch request

In my application, while executing fetch request application get freeze randomly. I have tried with multiple Choice like @synchronized and performblock still hang occur. below is my first fetch request block. Application hang in this fetch request…
0
votes
2 answers

NSInvalidArgumentException in App Delegate on launch with CoreData app

I have this app I have been working on for a while, that I created using CoreData. However, I have recently started building a data model and working with CoreData. Now that I have done this, whenever I run the app in the simulator, it crashes in…
Jay Imerman
  • 4,475
  • 6
  • 40
  • 55
1
2