Created
January 23, 2012 21:55
-
-
Save jrwren/1665734 to your computer and use it in GitHub Desktop.
trace
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
| #import <UIKit/UIKit.h> | |
| @interface PopPushSegue : UIStoryboardSegue | |
| @end | |
| @implementation PopPushSegue | |
| - (void)perform { | |
| UIViewController *src = (UIViewController *) self.sourceViewController; | |
| UIViewController *dst = (UIViewController *) self.destinationViewController; | |
| UINavigationController *navController = src.navigationController; | |
| [self retain]; | |
| //[self autorelease]; | |
| [navController popViewControllerAnimated:NO]; | |
| [UIView beginAnimations:nil context:NULL]; | |
| [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut]; | |
| [UIView setAnimationDuration:0.75]; | |
| [navController pushViewController:dst | |
| animated:NO]; | |
| [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:navController.view cache:NO]; | |
| [UIView commitAnimations]; | |
| } | |
| gives this stacktrace: | |
| #0 0x02ca93a8 in CFHash () | |
| #1 0x02d6e754 in __CFSetStandardHashKey () | |
| #2 0x02ca8843 in CFBasicHashAddValue () | |
| #3 0x02cc924c in CFSetAddValue () | |
| #4 0x02da3cac in -[__NSCFSet addObject:] () | |
| #5 0x02cfadb7 in -[NSMutableSet addObjectsFromArray:] () | |
| #6 0x0071329a in -[UINib instantiateWithOwner:options:] () | |
| #7 0x005bae2c in -[UIViewController _loadViewFromNibNamed:bundle:] () | |
| #8 0x005bb3a9 in -[UIViewController loadView] () | |
| #9 0x005bb5cb in -[UIViewController view] () | |
| #10 0x005bb941 in -[UIViewController contentScrollView] () | |
| #11 0x005cd47d in -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] () | |
| #12 0x005cd66f in -[UINavigationController _layoutViewController:] () | |
| #13 0x005cd93b in -[UINavigationController _startTransition:fromViewController:toViewController:] () | |
| #14 0x005ce3df in -[UINavigationController _startDeferredTransitionIfNeeded] () | |
| #15 0x005ce561 in -[UINavigationController __viewWillLayoutSubviews] () | |
| #16 0x006ea4ca in -[UILayoutContainerView layoutSubviews] () | |
| #17 0x00534301 in -[UIView(CALayerDelegate) layoutSublayersOfLayer:] () | |
| #18 0x02d9ae72 in -[NSObject performSelector:withObject:] () | |
| #19 0x0041492d in -[CALayer layoutSublayers] () | |
| #20 0x0041e827 in CA::Layer::layout_if_needed () | |
| #21 0x003a4fa7 in CA::Context::commit_transaction () | |
| #22 0x003a6ea6 in CA::Transaction::commit () | |
| #23 0x003a6580 in CA::Transaction::observer_callback () | |
| #24 0x02d6d9ce in __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ () | |
| #25 0x02d04670 in __CFRunLoopDoObservers () | |
| #26 0x02cd04f6 in __CFRunLoopRun () | |
| #27 0x02ccfdb4 in CFRunLoopRunSpecific () | |
| #28 0x02ccfccb in CFRunLoopRunInMode () | |
| #29 0x03826879 in GSEventRunModal () | |
| #30 0x0382693e in GSEventRun () | |
| #31 0x004f5a9b in UIApplicationMain () | |
| #32 0x00002342 in main (argc=1, argv=0xbffff4a4) at /Users/jrwren/Projects/sandvik_dashboard/Dashboard/main.m:16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment