<commit_before>//
//  SOContainerViewController.swift
//  SidebarOverlay
//
//  Created by <NAME> on 12/23/15.
//  Copyright © 2015 <NAME>. All rights reserved.
//

import UIKit


public extension UIViewController {
    
    var so_containerViewController: SOContainerViewController? {
        if self is SOContainerViewController {
            return self as? SOContainerViewController
        }
        if let parentVC = self.parentViewController {
            return parentVC.so_containerViewController
        }
        return nil
    }
    
}


public class SOContainerViewController: UIViewController, UIGestureRecognizerDelegate {
    
    let LeftViewControllerRightIndent: CGFloat = 56.0<commit_msg>Documentation for UIViewController extension.<commit_after>//
//  SOContainerViewController.swift
//  SidebarOverlay
//
//  Created by <NAME> on 12/23/15.
//  Copyright © 2015 <NAME>. All rights reserved.
//

import UIKit


public extension UIViewController {
    
    ///
    /// Use this computed property to access the container view controller from any view controller.
    ///
    /// - returns: An instance of `SOContainerViewController` that holds current view controller
    ///     or `nil` if there is not container view controller.
    var so_containerViewController: SOContainerViewController? {
        if self is SOContainerViewController {
            return self as? SOContainerViewController
        }
        if let parentVC = self.parentViewController {
            return parentVC.so_containerViewController
        }
        return nil
    }
    
}


public class SOContainerViewController: UIViewController, UIGestureRecognizerDelegate {
    
    let LeftViewControllerRightIndent: CGFloat = 56.0
{'fraction_non_alphanumeric': 0.06952491309385864, 'fraction_numerical': 0.015063731170336037, 'mean_word_length': 2.7543478260869567, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '13701', 'n_tokens_mistral': 469, 'n_tokens_neox': 418, 'n_words': 131}