Skip to content

Loading…

Would it be reasonable to have all delegate methods and callback blocks executed on the main thread? #94

Open
qwzybug opened this Issue · 0 comments

1 participant

@qwzybug

Especially with native auth flows, I find often that my callback methods and delegate methods are being executed on the ACAccountStoreReply thread.

Since so much of iOS involves UIKit, which is largely non-threadsafe, it might be reasonable to dispatch all these messages on the main thread, and allow the user to dispatch to another thread if they like. Otherwise, everyone's callbacks are just going to get wrapped in dispatch_async(dispatch_get_main_queue(), ^{ ... }).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.