Demystifying Views in iOS 路 Multiple Scene Dock Views | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4518-demystifying-views-in-ios/lessons/15

For these cases where the view is only used once and it occupies the whole screen, what are the advantages of using a scene dock and loading it rather than creating a separate view controller and doing a segue followed by a dismiss when done?

The advantage as far as I can think of, only in level of complexity. If you鈥檙e comfortable with UIPresentationController, then you might want to use that instead. But going over the fundamentals of views is this course鈥檚 focus. You鈥檙e right that the Scene Dock鈥檚 differentiation really shines when housing small non-modal views!