Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (19 sloc) 0.64 kB
//
// UIViewController+DCTStoryboarding.m
// Issues
//
// Created by Daniel Tull on 13.08.2011.
// Copyright 2011 Daniel Tull. All rights reserved.
//
#import "UIViewController+DCTStoryboarding.h"
@implementation UIViewController (DCTStoryboarding)
- (UIViewController *)dct_visibleMostChildViewController {
return self;
}
- (void)dct_recursivelyEnumerateViewControllersUsingBlock:(void (^)(id viewController))block {
block(self);
[self.childViewControllers enumerateObjectsUsingBlock:^(id viewController, NSUInteger idx, BOOL *stop) {
[viewController dct_recursivelyEnumerateViewControllersUsingBlock:block];
}];
}
@end
Jump to Line
Something went wrong with that request. Please try again.