//
//  UIView+AutoLayoutHelper.h
//  SohoXiMenu
//
//  Created by Lin Zhou on 9/1/15.
//  Copyright (c) 2015 Lin Zhou. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (AutoLayoutHelper)

+ (NSArray *)anchorSubView:(UIView *)subView
         toOccupySuperView:(UIView *)superView
                 withInset:(UIEdgeInsets)inset;

+ (NSArray *)anchorSubView:(UIView *)subView
               inSuperView:(UIView *)superView
                    offset:(CGPoint)offset;

+ (NSArray *)fixSizeOfView:(UIView *)aView
                    toSize:(CGSize)size;

@end
