w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Refresh sorted tableview after core data is updated

If you don't use FetchedResultsController then you mosts likely store the objects in some collection. You can then add observer (KVO - KeyValueObserving) to this collection to be notified when something changes in its objects. Then you can handle this response and invoke [tableView reloadData];

What you should not do is to invoke viewDidLoad: on your own. If you still think about it you should rather put your view initialization code into separate method which is called in the viewDidLoad: and you can then also use it when you need it.

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