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

Latest commit

 

History

History
33 lines (25 loc) · 833 Bytes

File metadata and controls

33 lines (25 loc) · 833 Bytes

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;