JJSaccolo / UIActivityIndicator-for-SDWebImage

The easiest way to add a UIActivityView to your SDWebImage view
MIT License
817 stars 160 forks source link

safer calls for UIKit #9

Closed mRs- closed 10 years ago

JJSaccolo commented 10 years ago

Hi! Thanks for the PR. Did you have problem without these changes?

mRs- commented 10 years ago

Absolutely. It's possible you could call the methods from a background process and all UI stuff belongs to the main thread. So this is a failsafe solution for this

JJSaccolo commented 10 years ago

Yep, I agree. Merged! Will update the podspec later in this afternoon. Thank you very much :)

mRs- commented 10 years ago

awesome!