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

AwaitKit and UIKit #20

Open
ArifADS opened this issue Oct 6, 2017 · 1 comment
Open

AwaitKit and UIKit #20

ArifADS opened this issue Oct 6, 2017 · 1 comment

Comments

@ArifADS
Copy link

ArifADS commented Oct 6, 2017

is there a way to mix an async {} block of code with UI actions that has promises? something like PMKAlertController.

I have also developed other ViewControllers that waits for an user action and when said VC is dismissed it fulfill/reject a promise. Can AwaitKit wait for that promise to fulfill, but don't block the main UI, nor glitch the drawing of the UI when is getting presented because is in a background thread?

@sirvon
Copy link

sirvon commented Dec 15, 2017

I have also developed other ViewControllers that waits for an user action and
when said VC is dismissed it fulfill/reject a promise.

can you show me or point to some code example that describes what you explain.

thanks

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