Created
March 29, 2011 22:37
-
-
Save thekarladam/893505 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@implementation XXNavigationBar | |
- (void)layoutSubviews { | |
[super layoutSubviews]; | |
MPLog(@"navBar: %@", [self recursiveDescription]); | |
} | |
- (void)pushNavigationItem:(UINavigationItem *)item animated:(BOOL)animated { | |
MPLog(@"[%@:%p %@]:%@, %@", NSStringFromClass([self class]), self, NSStringFromSelector(_cmd), item, animated ? @"YES": @"NO"); | |
[super pushNavigationItem:item animated:animated]; | |
} | |
- (void)setItems:(NSArray *)items animated:(BOOL)animated { | |
MPLog(@"[%@:%p %@]:%@, %@", NSStringFromClass([self class]), self, NSStringFromSelector(_cmd), items, animated ? @"YES": @"NO"); | |
[super setItems:items animated:animated]; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment