Hi. This looks like a really good tutorial app. From the starter, it doesn’t have the File.swift and Content.swift yet. Do I leave the codegen for both at ‘Class Definition’ and do the ‘Create NSManaged Object subclass …’? I’m not really experienced with Core Data.

Hi Warren, I suggest putting the sub-splitview on the left instead of the right. Much simpler because requires no need to manually manage collapse or separate. Just need to override traits of the child split in the parent split and forward a few things through the child. I could do a tutorial on it?

That’s not an approach I considered taking when constructing the tutorial. It sounds really interesting if it eliminates the need the pile of delegate code required to reconstruct/deconstruct the navigation stacks during trait change.

Im guessing you mean place the folder list (and file list in sub-secondary) in their own split and place that in the primary while the placeholder/editor remains within the main secondary.

I love it when people come up with new ideas for things. Thanks for the suggestion. Id like to see the result if you ever write the tutorial.

Good evening,
I used this tutorial to attempt to make a triple split view (kinda like apple mail) and ran into an issue when adding a UISearchController to the middle view.
everything loads fine and works on all size devices but when you rotate the device the application crashes. The following is output

Warren,
I am using three different view controllers for the three sections instead of reusing one (FileList) like the guide does.
The UISearchController is on the middle viewcontroller and works correctly in any orientation as long as it was loaded in that orientation. As soon as you rotate it crashes with the error from above. If you have not yet navigated to the middle viewcontroller rotation works fine. If you navigate to the third view and rotate it still crashes. Navigating from view 1 to 2 and back to 1 rotating still works.
It feels like if the second view is still in the navigation stack it cannot rotate correctly.