AwaitKit icon indicating copy to clipboard operation
AwaitKit copied to clipboard

AwaitKit and UIKit

Open ArifADS opened this issue 7 years ago • 1 comments

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?

ArifADS avatar Oct 06 '17 19:10 ArifADS

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

sirvon avatar Dec 15 '17 04:12 sirvon