Closed mradlmaier closed 10 years ago
Hi mradlmaier, I just did some test and everything seems it works OK in 4 inch 64 bit simulator. Looking at your exceptions it seems that you connected the SARootViewController with a SALeftMenuSegue to a view controller that does not inherit from SASlideMenuViewController.
I hope this helps
Don't know why, but without changing anything, it worked again ;-)
All's Well That Ends Well :-)
Stefano,
Thanks for your prompt reaction. I don’t know what was wrong, it seemed to be a glitch with Xcode, after opening and compiling backups of the older versions, to see in which iteration that bug appeared first (but there was no bug in older versions), the current version didn’t crash anymore. The only thing I noticed, is the very first line of debug output:
2014-02-09 16:42:26.275 MedSafeStatic[9453:70b] Unknown class ExampleStaticMenuViewController in Interface Builder file. 2014-02-09 16:42:26.281 MedSafeStatic[9453:70b] -[UITableViewController setRootController:]: unrecognized selector sent to instance 0x8db1110 2014-02-09 16:42:26.284 MedSafeStatic[9453:70b] *\ Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITableViewController setRootController:]: unrecognized selector sent to instance 0x8db1110' –
Seems that XCOde had somehow still the ExampleStaticMenuViewController around… though searches did turn up anything… However, no all is well ;-)
BTW, great work, your SASlideMenu. I tested nearly every available slide menu, but every had some disadvantage/issue… only SASlideMenu satisfied all my requirements.
Best regards, Michael
On 09 Feb 2014, at 18:27, stefanoa notifications@github.com wrote:
Hi mradlmaier, I just did some test and everything seems it works OK in 4 inch 64 bit simulator. Looking at your exceptions it seems that you connected the SARootViewController with a SALeftMenuSegue to a view controller that does not inherit from SASlideMenuViewController.
I hope this helps
— Reply to this email directly or view it on GitHub.
I am happy you liked it Michael
Stefano,
I am using your SASlideMenu with storyboards, as you know.
I have a button on my first view controller, which segues to a view controller, where the user can create his profile. I need to ensure that before a user moves to one of the view controllers in the slide menu, the user first creates a profile. I think that means to disable the SASlideMenu until the profile is created.
How can I do that?
Best regards, Michael
On 09 Feb 2014, at 22:53, stefanoa notifications@github.com wrote:
I am happy you liked it Michael
— Reply to this email directly or view it on GitHub.
I have an app based on your SASlideMenu, which runs nicely on my iPhone 5C, the simulators with Retina 3,5 inch and 4 inch, but crashes in the IPhone Retina (4 inch 64 bit) simulator with the following error:
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITableViewController setRootController:]: unrecognized selector sent to instance 0x8eb2820' * First throw call stack: ( 0 CoreFoundation 0x0276a5e4 exceptionPreprocess + 180 1 libobjc.A.dylib 0x019458b6 objc_exception_throw + 44 2 CoreFoundation 0x02807903 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275 3 CoreFoundation 0x0275a90b __forwarding + 1019 4 CoreFoundation 0x0275a4ee _CF_forwarding_prep_0 + 14 5 MedSafeStatic 0x0001ac0d -[SASlideMenuLeftMenuSegue perform] + 669 6 UIKit 0x009db07e -[UIStoryboardSegueTemplate _perform:] + 174 7 UIKit 0x005bc280 -[UIViewController performSegueWithIdentifier:sender:] + 72 8 MedSafeStatic 0x00026484 -[SASlideMenuRootViewController viewDidLoad] + 964 9 UIKit 0x005ba318 -[UIViewController loadViewIfRequired] + 696 10 UIKit 0x005ba5b4 -[UIViewController view] + 35 11 UIKit 0x004e29fd -[UIWindow addRootViewControllerViewIfPossible] + 66 12 UIKit 0x004e2d97 -[UIWindow _setHidden:forced:] + 312 13 UIKit 0x004e302d -[UIWindow _orderFrontWithoutMakingKey] + 49 14 UIKit 0x004ed89a -[UIWindow makeKeyAndVisible] + 65 15 UIKit 0x004a0cd0 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1851 16 UIKit 0x004a53a8 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 824 17 UIKit 0x004b987c -[UIApplication handleEvent:withNewEvent:] + 3447 18 UIKit 0x004b9de9 -[UIApplication sendEvent:] + 85 19 UIKit 0x004a7025 _UIApplicationHandleEvent + 736 20 GraphicsServices 0x02eda2f6 _PurpleEventCallback + 776 21 GraphicsServices 0x02ed9e01 PurpleEventCallback + 46 22 CoreFoundation 0x026e5d65 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 53 23 CoreFoundation 0x026e5a9b CFRunLoopDoSource1 + 523 24 CoreFoundation 0x0271077c CFRunLoopRun + 2156 25 CoreFoundation 0x0270fac3 CFRunLoopRunSpecific + 467 26 CoreFoundation 0x0270f8db CFRunLoopRunInMode + 123 27 UIKit 0x004a4add -[UIApplication _run] + 840 28 UIKit 0x004a6d3b UIApplicationMain + 1225 29 MedSafeStatic 0x0000d9ed main + 141 30 libdyld.dylib 0x023f570d start + 1 31 ??? 0x00000001 0x0 + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException