A UIViewController subclass for presenting side view controllers inspired on the FaceBook and Wunderlist apps, done right !
4.52k
stars
988
forks
source link
SWRevealController Custom Push Method Makes App Crash In ios 7 But Work Fine In ios 8 #363
Open
praveen-kanwar opened 9 years ago
Objective: {objective 0x7a6d2920: <251:-160, 250:-3916> + 251:1.32852e-07_UIView:0x7a7b0420.Height{id: 914} + 251:-2.44922e-08_UIView:0x7a7b0420.Width{id: 913}} 2014-12-22 17:10:00.161 Oysterz[4002:607] *\ Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '<NSISEngine: 0x7a6d25f0>{ Rows: SWRevealView:0x7a6a51b0.Height{id: 5} == 1136 + 2_0x7a6eb0c0.marker{id: 386} + 1_0x7a6eb9a0.marker{id: 394} SWRevealView:0x7a6a51b0.Width{id: 3} == 640 + 2_0x7a6eb060.marker{id: 383} + 1_0x7a6eb970.marker{id: 391} SWRevealView:0x7a6a51b0.minX{id: 380} == 0 + 2_0x7a6eb030.marker{id: 379} + -1_0x7a6eb060.marker{id: 383} SWRevealView:0x7a6a51b0.minY{id: 381} == 0 + 2_0x7a6eb090.marker{id: 384} + -1_0x7a6eb0c0.marker{id: 386} UIView:0x7a6a4dc0.Height{id: 371} == 1136 + 2_0x7a6eaaa0.marker{id: 378} + 2_0x7a6eb0c0.marker{id: 386} + 1_0x7a6eb9a0.marker{id: 394} UIView:0x7a6a4dc0.Width{id: 368} == 640 + 2_0x7a6eaa40.marker{id: 376} + 2_0x7a6eb060.marker{id: 383} + 1_0x7a6eb970.marker{id: 391} UIView:0x7a6a4dc0.minX{id: 374} == 0 + 2_0x7a6eaa00.marker{id: 373} + -1_0x7a6eaa40.marker{id: 376} UIView:0x7a6a4dc0.minY{id: 375} == 0 + 2_0x7a6eaa70.marker{id: 377} + -1_0x7a6eaaa0.marker{id: 378} UIWindow:0x7a722500.Height{id: 385} == 1136 + 1_0x7a6eb9a0.marker{id: 394} UIWindow:0x7a722500.Width{id: 382} == 640 + 1_0x7a6eb970.marker{id: 391} UIWindow:0x7a722500.minX{id: 388} == 0 + 2_0x7a6eb760.marker{id: 387} + -0.5_0x7a6eb970.marker{id: 391} UIWindow:0x7a722500.minY{id: 390} == 0 + 2_0x7a6eb800.marker{id: 389} + -0.5_0x7a6eb9a0.marker{id: 394} objective{id: 304} == {objective 0x7a6d2920: <251:-160, 250:-3916> + 251:1.32852e-07_UIView:0x7a7b0420.Height{id: 914} + 251:-2.44922e-08_UIView:0x7a7b0420.Width{id: 913}}
Constraints: <NSAutoresizingMaskLayoutConstraint:0x7a6eaa00 h=-&- v=-&- UIView:0x7a6a4dc0.midX == SWRevealView:0x7a6a51b0.midX> Marker:0x7a6eaa00.marker{id: 373} <NSAutoresizingMaskLayoutConstraint:0x7a6eaa40 h=-&- v=-&- UIView:0x7a6a4dc0.width == SWRevealView:0x7a6a51b0.width> Marker:0x7a6eaa40.marker{id: 376} <NSAutoresizingMaskLayoutConstraint:0x7a6eaa70 h=-&- v=-&- UIView:0x7a6a4dc0.midY == SWRevealView:0x7a6a51b0.midY> Marker:0x7a6eaa70.marker{id: 377} <NSAutoresizingMaskLayoutConstraint:0x7a6eaaa0 h=-&- v=-&- UIView:0x7a6a4dc0.height == SWRevealView:0x7a6a51b0.height> Marker:0x7a6eaaa0.marker{id: 378} <NSAutoresizingMaskLayoutConstraint:0x7a6eb030 h=-&- v=-&- SWRevealView:0x7a6a51b0.midX == UIWindow:0x7a722500.midX> Marker:0x7a6eb030.marker{id: 379} <NSAutoresizingMaskLayoutConstraint:0x7a6eb060 h=-&- v=-&- SWRevealView:0x7a6a51b0.width == UIWindow:0x7a722500.width> Marker:0x7a6eb060.marker{id: 383} <NSAutoresizingMaskLayoutConstraint:0x7a6eb090 h=-&- v=-&- SWRevealView:0x7a6a51b0.midY == UIWindow:0x7a722500.midY> Marker:0x7a6eb090.marker{id: 384} <NSAutoresizingMaskLayoutConstraint:0x7a6eb0c0 h=-&- v=-&- SWRevealView:0x7a6a51b0.height == UIWindow:0x7a722500.height> Marker:0x7a6eb0c0.marker{id: 386} <NSAutoresizingMaskLayoutConstraint:0x7a6eb970 h=--- v=--- H:[UIWindow:0x7a722500(320)]> Marker:0x7a6eb970.marker{id: 391} <NSAutoresizingMaskLayoutConstraint:0x7a6eb9a0 h=--- v=--- V:[UIWindow:0x7a722500(568)]> Marker:0x7a6eb9a0.marker{id: 394} <_UIWindowAnchoringConstraint:0x7a6eb760 h=--- v=--- UIWindow:0x7a722500.midX == + 160> Marker:0x7a6eb760.marker{id: 387} <_UIWindowAnchoringConstraint:0x7a6eb800 h=--- v=--- UIWindow:0x7a722500.midY == + 284> Marker:0x7a6eb800.marker{id: 389}
Integralization Adjustments: (none)
Statistics: 12 rows. Variable counts: 1 -> 2 2 -> 8 3 -> 2 }: internal error. Cannot find an outgoing row head for incoming head UIView:0x7a7b0420.Width{id: 913}, which should never happen.' * First throw call stack: ( 0 CoreFoundation 0x01fab1e4 exceptionPreprocess + 180 1 libobjc.A.dylib 0x01d258e5 objc_exception_throw + 44 2 CoreFoundation 0x01faafbb +[NSException raise:format:] + 139 3 Foundation 0x01961079 -[NSISEngine minimizeConstantInObjectiveRowWithHead:] + 256 4 Foundation 0x01960ee3 -[NSISEngine optimize] + 183 5 Foundation 0x01ad56d8 -[NSISEngine withBehaviors:performModifications:] + 183 6 Foundation 0x019653c5 -[NSISEngine withAutomaticOptimizationDisabled:] + 48 7 UIKit 0x025e8830 -[UIView(Hierarchy) _postMovedFromSuperview:] + 313 8 UIKit 0x025e6b0a UIViewWasRemovedFromSuperview + 226 9 UIKit 0x025e670a -[UIView(Hierarchy) removeFromSuperview] + 264 10 Oysterz 0x000d5032 53-[SWRevealViewController _undeployForViewController:]_block_invoke_2 + 82 11 Oysterz 0x000d54aa 80-[SWRevealViewController _transitionFromViewController:toViewController:inView:]_block_invoke_2 + 42 12 Oysterz 0x000d3c9e 82-[SWRevealViewController _performTransitionOperation:withViewController:animated:]_block_invoke + 46 13 Oysterz 0x000d3b6e -[SWRevealViewController _performTransitionOperation:withViewController:animated:] + 1486 14 Oysterz 0x000d27f2 68-[SWRevealViewController _dispatchPushFrontViewController:animated:]_block_invoke422 + 114 15 Oysterz 0x000d0a67 -[SWRevealViewController _enqueueBlock:] + 199 16 Oysterz 0x000d23bf -[SWRevealViewController _dispatchPushFrontViewController:animated:] + 751 17 Oysterz 0x000cefe7 -[SWRevealViewController pushFrontViewController:animated:] + 215 18 Oysterz 0x000d7a29 -[SWRevealViewControllerSeguePushController perform] + 201 19 UIKit 0x02aebf0c -[UIStoryboardSegueTemplate _perform:] + 174 20 UIKit 0x02aebf87 -[UIStoryboardSegueTemplate perform:] + 115 21 libobjc.A.dylib 0x01d37880 -[NSObject performSelector:withObject:withObject:] + 77 22 UIKit 0x025893b9 -[UIApplication sendAction:to:from:forEvent:] + 108 23 UIKit 0x028768df -[UIBarButtonItem(UIInternal) _sendAction:withEvent:] + 139 24 libobjc.A.dylib 0x01d37880 -[NSObject performSelector:withObject:withObject:] + 77 25 UIKit 0x025893b9 -[UIApplication sendAction:to:from:forEvent:] + 108 26 UIKit 0x02589345 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 61 27 UIKit 0x0268abd1 -[UIControl sendAction:to:forEvent:] + 66 28 UIKit 0x0268afc6 -[UIControl _sendActionsForEvents:withEvent:] + 577 29 UIKit 0x0268a243 -[UIControl touchesEnded:withEvent:] + 641 30 UIKit 0x025c8ddd -[UIWindow _sendTouchesForEvent:] + 852 31 UIKit 0x025c99d1 -[UIWindow sendEvent:] + 1117 32 UIKit 0x0259b5f2 -[UIApplication sendEvent:] + 242 33 UIKit 0x02585353 _UIApplicationHandleEventQueue + 11455 34 CoreFoundation 0x01f3477f CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION** + 15 35 CoreFoundation 0x01f3410b CFRunLoopDoSources0 + 235 36 CoreFoundation 0x01f511ae CFRunLoopRun + 910 37 CoreFoundation 0x01f509d3 CFRunLoopRunSpecific + 467 38 CoreFoundation 0x01f507eb CFRunLoopRunInMode + 123 39 GraphicsServices 0x042fc5ee GSEventRunModal + 192 40 GraphicsServices 0x042fc42b GSEventRun + 104 41 UIKit 0x02587f9b UIApplicationMain + 1225 42 Oysterz 0x000bb34d main + 141 43 libdyld.dylib 0x038106d9 start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)