w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Core data and multiple entites

Looking at the code you've provided, I think you have a misconception about Core Data.

It looks like you are trying to get all the events related to a profile. You don't need to create ond perform a fetch request for this. Core Data is an object graph. Which means that if you have an object in an a managed object context, you get its related objects via it's relationships, you don't need to run a fetch request.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.