ios - Swift / Objective C - performTransitionOperation Crash -


i've been going @ while , i'd love hear potential solutions. essentially, i'm trying incorporate right menu/nav using swrevealviewcontroller, when attempt go log app , go home screen/logged in landing, app crashes. app doesn't crash when segue modal,etc. continues crash while it's set appropriate segue plugin i'm using.

here console output when app crashes:

2016-11-12 22:21:04.861 freely market[16811:3049283] *** terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[freely_market.loginviewcontroller _performtransitionoperation:withviewcontroller:animated:]: unrecognized selector sent instance 0x7fc71950ea30'

for wonder ui of application looks - here:

user interface image

1 login button, user passed onto following screen pending information matche stored within system.

2 segue, sw_front

3 logged in screen

4 segue sw_right

5 menu

the segues set properly, , think i'm onto right track when comes finding out issue here..

here error at, or decoding from: \

- (void)perform {     swrevealcontrolleroperation operation = swrevealcontrolleroperationnone;      nsstring *identifier = self.identifier;     swrevealviewcontroller *rvc = self.sourceviewcontroller;     uiviewcontroller *dvc = self.destinationviewcontroller;      if ( [identifier isequaltostring:swseguefrontidentifier] )         operation = swrevealcontrolleroperationreplacefrontcontroller;      else if ( [identifier isequaltostring:swseguerearidentifier] )         operation = swrevealcontrolleroperationreplacerearcontroller;      else if ( [identifier isequaltostring:swseguerightidentifier] )         operation = swrevealcontrolleroperationreplacerightcontroller;      if ( operation != swrevealcontrolleroperationnone )         [rvc _performtransitionoperation:operation withviewcontroller:dvc animated:yes]; } 

so can tell, application thinks using selector: _performtransitionoperation:withviewcontroller:animated:]

but not swift, , objective-c. i'm not quite sure how segue operate should.

this segue being called after verifying user's login information.

} else if (username.isequal(to: usernamev!) && password.isequal(to: passwordv!)) {         self.performsegue(withidentifier: "sw_front", sender: self) 

and stuck, maybe issue objective-c , swift clashing? other's have gotten add-in work fine without issues, have not. maybe because verifying user login information , passing onto new screen, others start @ basic screen.

any appreciated.

issue solved.

i needed create separate view controller in between login confirmation , instances swrevealviewcontroller called.

if read issue further on git repository swrevealviewcontroller, can here: swrevealviewcontroller issue #642

an image view of speaking can found here:

enter image description here


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -