Open nhattieunhatkiem opened 8 years ago
Core Data will update automatically, you can subscribe to the same publication as many times as you like with different parameters. If you are not seeing new results the problem is not with Core Data but with the way you are accessing the data or listening for updates.
I checked my server code, it returned correct results I want. Do I need to do anything else to tell the core data to update new results ? or it will update automatically ?
Let say, when app first start, I do this subscribe [_subscriptionLoader addSubscriptionWithName:@"myCollection"]; it will return just a limited information.
And in next time, I want to get full information, I do this subscribe [_subscriptionLoader addSubscriptionWithName:@"myCollection" parameters:@[_id]];
how can I force core data to update with new results ? It keeps showing results from the first run.