fnp
/
wl-app.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added iOS source code
[wl-app.git]
/
iOS
/
Pods
/
MatomoTracker
/
MatomoTracker
/
MainThread.swift
1
import Foundation
2
3
func assertMainThread(_ file: StaticString = #file, line: UInt = #line) {
4
assert(Thread.isMainThread, "\(file):\(line) must run on the main thread!")
5
}