I've creating tvOs app and had stucked with focus engine.
I have tableview, and set remembersLastFocusedIndexPath true.  And I have to override indexPathForPreferredFocusedView. When I focus first time, indexPathForPreferredFocusedView get called, and I get the cell focused, what I need. But in other times I get last focused indexpath. When I define remembersLastFocusedIndexPath to false, indexPathForPreferredFocusedViewnot being called.
What I need to do, to focus only cells, what I need?
                        
Override the below function and return indexpath that you want to focus.
demo