JUIView.h
#import <UIKit/UIKit.h>
typedef enum {
CenterPositionHorizontally,
CenterPositionVertically,
CenterPositionInBounds
} CenterPosition;
@interface JUIView : NSObject
+(void)centerView:(UIView *)view withinView:(UIView *)parentView withPositioning:(CenterPosition)position;
+(void)addView:(UIView *)subview toView:(UIView *)parent andCenterWithPosition:(CenterPosition)position;
+(CGSize)sizeFromString:(NSString *)string usingFont:(UIFont *)font withMaxWidth:(CGFloat)width;
+ (void)transitionWithWindow:(UIWindow *)window toStoryBoardNamed:(NSString *)storyboardName;
+(CGSize)resizeForOrientation:(CGSize)size;
+(UIViewController *)storyBoardWithName:(NSString *)name;
+(UIViewController *)storyBoardWithName:(NSString *)storyName andStartingViewName:(NSString *)viewName withReturningView:(UIViewController *)returningView;
@end