fnp
/
wl-app.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added iOS source code
[wl-app.git]
/
iOS
/
Pods
/
MatomoTracker
/
MatomoTracker
/
MainThread.swift
diff --git a/iOS/Pods/MatomoTracker/MatomoTracker/MainThread.swift
b/iOS/Pods/MatomoTracker/MatomoTracker/MainThread.swift
new file mode 100644
(file)
index 0000000..
c661f12
--- /dev/null
+++ b/
iOS/Pods/MatomoTracker/MatomoTracker/MainThread.swift
@@ -0,0
+1,5
@@
+import Foundation
+
+func assertMainThread(_ file: StaticString = #file, line: UInt = #line) {
+ assert(Thread.isMainThread, "\(file):\(line) must run on the main thread!")
+}