Re: Segue
Quincey Morris
On Sep 20, 2018, at 22:50 , Gerriet M. Denkmann <g@...> wrote:
It is self-evident after you read the documentation, but it takes about a day to read the documentation …
… and if you’d spent the day reading the documentation, it wouldn’t have taken a day to figure out. ;) TBH, it’s a bit frightening how abstruse the controller interactions have become on iOS over the years. If you study the master-detail app template in Xcode, you’ll see that it gives the iPad *both* a split view controller *and* a navigation controller, and it switches between the two dynamically, depending on how the split view interacts with a compact dimension. If you want to make your head hurt, you can spend another day figuring out how the machinery in the App Delegate and the MasterViewController, and the cross-linked navigation controllers in the storyboard all work together to do some very clever things. I particular like this comment in the helper method near the end of the App Delegate: // Return true to indicate that we have handled the collapse by doing nothing; the secondary controller will be discarded.
|
|