« Errors: The model used to open the store is incompatible (and other Core Data errors) | Main | Core Data, Part 4: Inserts, Updates & Deletes »

September 02, 2009

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a010535e1becf970c0120a54208b6970b

Listed below are links to weblogs that reference Core Data, Part 3: Retrieving Data:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Chris

Thanks for these articles. Out of all the material I have read on core data yours by far have been the most helpful. I'm eagerly awaiting the next article on Storing and Changing Data. When is that going to be posted?

Shannon Appelcline

Glad it's been useful! Part 4 will be posted sometime this week, then I expect to have Part 5 up next Tuesday, and that's as far as I've planned at the moment.

jj

thanks for the series.

the things i don't understand from part 3:
- in the line NSPredicate "*predicate = [NSPredicate predicateWithFormat:@"location=%@",thisDeck];" where does 'thisDeck' come from? when/where/how is it set?

Shannon Appelcline

It's an arbitrary variable that came in from outside the function. Somewhere, something else in the program, thus, got a handle for a "CardStack" object ... probably from a "select" or by looking up a property.

Jeff

Thanks so much for the articles. They are a great help. One question, I'm trying to access a to-many relationship, say recipes to ingredients where there is a Recipe entity with a to-many relationship to an Ingredient entity.

If I want to pull all the recipes from an ingredient, it seems like i could have something like:

NSArray *recipeIngredients = [recipe.ingredients allObjects];

but I just can't seem to get this right. Can anyone explain this relationship retrieval a little more clearly?

Almeist

I thank you greatly for your tutorials and I have purchased your book and find it very informative and helpful.
What I am trying to do is write an App that is a two level drill-down with a detailView that can display Address, Description and an image for each selected item using Core Data.
I have been able to create one that can do all of that except the image part. It draws its data from an xml file. I have pieced it together from other tutorials.

I cannot, however, work out how to have images stored in the App and Displayed. I wish the App to have no user editing facility so the separate images need to be loaded in from the start.

I have gone over and over your recipes App but cannot figure out how to do this.

If you could possibly write a tutorial on how to do this I would be greatly appreciative.

Cheers

Susan

> SELECT; in other words, it tells you have to retrieve your data.

You *HAVE TO* retrieve your data?
Huh?

Shannon Appelcline

And that's why editors would be good for blogs. It should be "how to retrieve data".

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment