in iOS6 I noticed the new Container View but am not quite sure how to access it\'s controller from the containing view.
Scenario:
        
With generic you can do some sweet things. Here is an extension to Array:
extension Array {
    func firstMatchingType() -> Type? {
        return first(where: { $0 is Type }) as? Type
    }
}
 You can then do this in your viewController:
var viewControllerInContainer: YourViewControllerClass? {
    return childViewControllers.firstMatchingType()!
}