// // UIView+FindUIViewController.h // JobTalk // // Created by Xummer on 1/20/15. // Copyright (c) 2015 BST. All rights reserved. // #import <UIKit/UIKit.h> #import <Foundation/Foundation.h> @interface UIView (FindUIViewController) - (UIViewController *)firstAvailableUIViewController; - (id)traverseResponderChainForUIViewController; @end @interface UIView (Extend) - (NSArray *)subviewsWithClass:(Class)aClass; - (id)viewWithClass:(Class)aClass; - (void)removeSubViewWithClass:(Class)aClass; - (void)removeSubViewWithTag:(NSInteger)tag; - (void)removeAllSubViews; - (void)autoresizingWithStrechFullSize; - (void)autoresizingWithVerticalCenter; - (void)autoresizingWithHorizontalCenter; @end