看门狗类

看门狗类用于检测主线程上的长时间阻塞。它会持续监测主线程,并在阻塞超过指定阈值时发出警告。此外,还可以启用严格模式,当达到阈值时立即中止执行。这有助于识别导致主线程阻塞的代码部分。

zip
Watchdog-master.zip 预估大小:25个文件
folder
Watchdog-master 文件夹
file
.gitignore 645B
file
Package.swift 353B
file
README.md 3KB
file
build.sh 235B
folder
.swiftpm 文件夹
folder
xcode 文件夹
folder
package.xcworkspace 文件夹
file
contents.xcworkspacedata 135B
folder
Example 文件夹
folder
Example 文件夹
file
AppDelegate.swift 388B
folder
Base.lproj 文件夹
file
Main.storyboard 2KB
file
LaunchScreen.storyboard 2KB
folder
Assets.xcassets 文件夹
folder
AppIcon.appiconset 文件夹
file
Contents.json 1KB
file
Info.plist 1KB
file
ViewController.swift 208B
file
example.png 475KB
folder
Example.xcodeproj 文件夹
folder
project.xcworkspace 文件夹
file
contents.xcworkspacedata 152B
file
project.pbxproj 12KB
file
LICENSE 1KB
file
.swift-version 4B
folder
Watchdog.xcodeproj 文件夹
folder
project.xcworkspace 文件夹
file
contents.xcworkspacedata 153B
folder
xcshareddata 文件夹
file
IDEWorkspaceChecks.plist 238B
file
project.pbxproj 11KB
folder
xcshareddata 文件夹
folder
xcschemes 文件夹
file
Watchdog.xcscheme 4KB
file
.travis.yml 145B
folder
Classes 文件夹
file
Watchdog.swift 3KB
file
Watchdog.h 486B
file
Info.plist 806B
file
Watchdog.podspec 949B
zip 文件大小:496.37KB