pkluz / PKRevealController

PKRevealController is a delightful view controller container for iOS, enabling you to present multiple controllers on top of one another.
Other
3.85k stars 659 forks source link

Difference to UISplitViewController #232

Open kaelumania opened 9 years ago

kaelumania commented 9 years ago

I'm curious and I developed some iPhone Apps a few years ago. Currently I plan to work on a new project and need something like the PKRevealController. But one question I came up with is: What are the benefits of using PKRevealController instead of the UISplitViewController, which can nowadays also be used on IPhones?

This is more of question than a real issue, I am sorry for that, but I didnt find a proper place to ask. On StackOverflow there does not seem to be a real discussion about this and it might be useful if the PKRevealController documentation might state the difference to UISplitViewController.

adonoho commented 9 years ago

The quick answer is that they do different things. One shows the shelf with an arbitrary view controller. The UISplitViewController is designed around a master-detail data refinement process. Yes, you can use it like PKRevealController. But it is different and may not be what you want from a UI.

Anon, Andrew