How to check current thread in Swift 3? November 28, 2022 by Tarik Looks like it’s simply Thread.isMainThread in Swift 3.