SnapSliderFilters icon indicating copy to clipboard operation
SnapSliderFilters copied to clipboard

Fix Main Thread issue

Open jguffey opened this issue 5 years ago • 0 comments

Swift 5 support

  • Changes compile language to Swift 5
  • Changes iOS build target to 12.4
  • Compiles and runs in Swift5

Thread Issues

8577da7 Resolves #19

SNFilter is subclass of UIImageView, which can only be init'd from the main thread.

You'd have to not be a UIView if you want to do background threading.

Now, changing to generate filters on the main thread, has no perceivable impact on filter generation on my iPhoneX, nor iPhone6.

jguffey avatar Nov 08 '18 06:11 jguffey