UIView+FindUIViewController.h 705 Bytes
Newer Older
mei's avatar
mei committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
//
//  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