ios - almost there with updating Core Data

Posted by Jeff Kranenburg on Stack Overflow See other posts from Stack Overflow or by Jeff Kranenburg
Published on 2012-07-02T02:35:46Z Indexed on 2012/07/02 3:16 UTC
Read the original article Hit count: 162

Filed under:
|
|

I have been following the answer of this question: How to update existing object in core data?

and in the answer it comes across this line of code to update a record within the array:

Favorits* favoritsGrabbed = [results objectAtIndex:0];  

Now this updates whatever is set a record 0 of the database, no matter what cell I select to edit.

I am sorry but I cannot figure out how to change it into updating the cell I have selected. Starting to grow grey hairs here:-)

The problem (maybe it is my mindset) is that I am required to give an integer and I am unable to find something to substitute it.

Any help would be great.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about ios