-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Grabs a snapshot of values from the main thread
Otherwise, reading any UIKit values like `.bounds` will give a warning: Main Thread Checker: UI API called on a background thread: -[UIView bounds] Taking out debug code
- Loading branch information
1 parent
167b038
commit ae1ed97
Showing
1 changed file
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters