Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

wedoit-io/QPSplitViewController

Repository files navigation

QPSplitViewController

Split View Controller (like Settings app) for iOS

alt tag

=====================

HOW TO USE:


1. Add to your projects

Manual: add QPSplitViewController Cocoapods: pod 'QPSplitViewController'

2. Init

    QPSplitViewController *splitVC = [[QPSplitViewController alloc] initWithLeftViewController:left rightViewController:right];
    self.window.rootViewController = splitVC;

3. Change controller

    // Use UIViewController Category
    [self.qp_splitViewController setRightController:newRight];

4. Change size

    // Change left or right split width
    self.qp_splitViewController.leftSplitWidth = 320.0;