Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (20 sloc) 838 Bytes
//
// UIViewController+DTResurrection.h
// DTResurrectionKit
//
// Created by Daniel Tull on 03.11.2009.
// Copyright 2009 Daniel Tull. All rights reserved.
//
#import "DTResurrectionKit.h"
@class DTResurrectionController;
/** Adds the methods for the DTResurrector protocol to UIViewController and adds methods for finding the root
resurrection controller and the front most view controller.
*/
@interface UIViewController (DTResurrection) <DTResurrection>
@property (readonly) DTResurrectionController *resurrectionController;
@property (readonly) UIViewController *frontViewController;
- (BOOL)isFrontViewController;
// USED ONLY IN DEBUG MODE
- (void)swizzledPresentModalViewController:(UIViewController *)modalViewController animated:(BOOL)animated;
- (void)swizzledDismissModalViewControllerAnimated:(BOOL)animated;
@end