Declared in OCAUtilities.h

Overview

Category extensions to UIView

Instance Methods

centerInView:

Centers a view inside a containing UIView

- (void)centerInView:(UIView *)containingView

Parameters

containingView

the UIView in which to center this view

Declared In

OCAUtilities.h

containingViewController

Finds the parent view controller

- (UIViewController *)containingViewController

Return Value

the parent view controller if successful, nil otherwise

Declared In

OCAUtilities.h

fadeSubViewIn:

Fades a UIView into visibility

- (void)fadeSubViewIn:(UIView *)subView

Parameters

subView

UIView to appear

Declared In

OCAUtilities.h

fadeSubViewOut:

Fades a UIView out of visibility

- (void)fadeSubViewOut:(UIView *)subView

Parameters

subView

UIView to disappear

Declared In

OCAUtilities.h

traverseResponderChainForUIViewController

Traverses the Responder chain looking for UIViewControllers

- (id)traverseResponderChainForUIViewController

Return Value

A UIViewController if successful, nil otherwise

Declared In

OCAUtilities.h