TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jan 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Old donkey.
ODUIThreadGuard is a guard to help check if you make UI changes not in main thread.
ODUIThreadGuard is a guard to help check if you make UI changes not in main thread. Highly recommend you add this file to your project as early as possible.
No matter which way you use ODUIThreadGuard, no need to import any files, it is a extension of UIView, so it will work automatically.
ODUIThreadGuard.swift
in your project.You can change the pre compile flag to change the setting, in default, this only runs in DEBUG mode, so won’t affect users in Release.
The main development of ODUIThreadGuard is based on Swift 3.
Follow and contact me through email. If you find an issue, just open a ticket on it. Pull requests are warmly welcome as well.
ODUIThreadGuard is released under the MIT license. See LICENSE for details.