How to use core data objects between two threads?



How to use core data objects between two threads?..

Answer / Ankur Misra

To use Core Data objects between multiple threads, you should use an NSManagedObjectContext and follow the appropriate context lifecycle. Use a parent context for child contexts in different threads to ensure thread safety and avoid conflicts.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

Difference between ScrollviewdidScroll and didendDecelerating delegates?

1 Answers  


What is a memory leak in ios?

1 Answers  


How to register as a iphone developer?

1 Answers  


What is nsoperationqueue?

1 Answers  


What is the purpose of reuseidentifier?

0 Answers  


Does ios support multiple inheritance?

1 Answers  


What are different ways that you can specify the layout of elements in a uiview?

1 Answers  


What is cococa and cocoa touch?

1 Answers  


How nsoperationque works?

1 Answers  


What is difference between weak and strong in ios?

1 Answers  


Explain ~/documents, ~/library, ~/tmp. What directory is ~ on ios?

1 Answers  


Which app specific objects store the app's content in iOS operating system?

1 Answers   TryTechnicals Pvt Ltd,


Categories