Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panel Delegates responses are slow #12

Closed
djaygit opened this issue Aug 29, 2017 · 4 comments
Closed

Panel Delegates responses are slow #12

djaygit opened this issue Aug 29, 2017 · 4 comments

Comments

@djaygit
Copy link

djaygit commented Aug 29, 2017

Not sure if it's only me

Delegate methods are running called for the first few times.

and

let panel = FAPanelController() doesn't work, have to use (coder: ..)

@fahidattique55
Copy link
Owner

Hi djaygit,

I didn't get your point about delegate. Can you please explain it ?

FAPanelControll is a subclass of UIViewController. The init() is not a designated initialiser. That is why you can not make its object like FAPanelController(). You can use it with coder or nib. I prefer using it with storyboards. That is the most simplest way of integrating it.

@fahidattique55
Copy link
Owner

It would be good if you can also tell me the reason you are using the FAPanelController() ?

@djaygit
Copy link
Author

djaygit commented Sep 2, 2017

The delegate methods FAPanelStateDelegate

 func leftPanelWillBecomeActive() 
 func centerPanelWillBecomeActive()

are not called instantly, let me explain
when the app starts, if i open side panel, then leftPanelWillBecomeActive gives no response
neither centerPanelWillBecomeActive.

But after few tries they start responding

get it?

@fahidattique55
Copy link
Owner

Hi djaygit,

I have tested the delegates and its responding me to specified functions every time. Can you please verify the delegate is not nil while you are expecting the delegate methods to be called?

Please let me know if you face the issue again.

Thanks & Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants