Can the result of any results on iOS be dynamically set to the controller?
For example, depending on the setting of the control in the navigation title bar, I need a sort of core data result. I either click on the volume control to sort the value or priority can do.
Then I need the results controller received to come back based on that fragmented control value and display the original data information.
I know how to set sorter starters, but I am unsure how to change it / it dynamically update as - (NSFetchedResultsController *) fetchedResultsController
function Is lazy loaded, does it always return just the frc that was created for the first time (thus returning the initial sort descriptor setting)?
Do I want to do something to store divided value in shared contexts, and then when it changes, set my fetchedResultsController to zero so that a new can be generated ? Then within the fetchedResultsController function, can I create my shared descriptor based on that shared setting?
You are in control of that. For example, the controller can be released when the split control is updated and reloaded on your table. This allows the controller to be rebuilt in a new way.
There are other solutions but they depend on your app design.
Comments
Post a Comment