isMainThread is an method in object-c. how to indicate current thread is main thread? thank you Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160713/041fb2c6/attachment.html>