Globally caching a thread-unsafe class instance in UIKit subclasses

Create issue
Issue #22 closed
Former user created an issue

Currently, Faux Pas warns about caching thread-unsafe class instances in all classes. That's okay, but developers are allowed to assume that all UIKit classes (and their subclasses) are only ever accessed on the main thread.

Could you turn off this warning for UIKit subclasses? Or at least provide a switch to do so?

Comments (2)

  1. Ali Rantakari repo owner

    Thanks for reporting this. A fix will be included in the next release (0.9.8) where these warnings should be suppressed for code occurring in subclasses of or categories on UIKit/AppKit classes.

  2. Log in to comment