MGSplitViewController for iPad is an open source replacement for UISplitViewController, with various useful enhancements.
Key features are as follows:
- By default, MGSplitViewController mimics the appearance and (complete) behaviour of UISplitViewController, including its delegate API. It accepts two UIViewControllers (or subclasses thereof).
- Allows toggling the visibility of the master view in either interface-orientation; i.e. you can have master-detail or detail-only in either landscape and/or portrait orientations (independently, and/or interactively).
- Allows choosing whether the split orientation is vertical (i.e. left/right, like UISplitViewController), or horizontal (master above, and detail below). You can toggle between modes interactively, with animation.
- Allows choosing whether the master view is before (above, or to left of) the detail view, or after it (below, or to the right).
Allows you to choose (and change) the position of the split, i.e. the relative sizes of the master and detail views.
- Allows you to enable dragging of the split/divider between the master and detail views, with optional constraining via a delegate method.
- Allows you to choose the width of the split between the master and detail views.
- and much more…



Open Source Living is a dynamic archive of Open Source software (OSS) spanning all major platforms, inclusive of small to large scale projects. It aims to introduce and inform new users about viable OSS alternatives to corporate, closed source software.
Through its Community Facebook Page and exciting multi-authored publication, Sourced, OS Living houses informed discussion on issues of import in the Open Source field.
OS Living adheres to the Open Source Initiative's definition of OSS. Each software item included in the archive endeavours to conform to OSI guidelines on standards and licensing. Find out more »
Working on a top OSS project? Found something that could benefit others? Send us all the details via our user-friendly submission form and we'll consider it for inclusion in the Archive. Submit »
If you find the Open Source Living project a valuable resource and would like to help towards maintaining the site, we welcome donations through Paypal™. Donate »