ODUIThreadGuard alternatives and similar libraries
Based on the "Code Quality" category.
Alternatively, view ODUIThreadGuard alternatives based on common mentions on social networks and blogs.
-
chisel
Chisel is a collection of LLDB commands to assist debugging iOS apps. -
MLeaksFinder
Find memory leaks in your iOS app at develop time. -
SwiftFormat
A command-line tool and Xcode Extension for formatting Swift code -
FBRetainCycleDetector
iOS library to help detecting retain cycles in runtime. -
FBMemoryProfiler
iOS tool that helps with profiling iOS Memory usage. -
OCLint
A static source code analysis tool to improve quality and reduce defects for C, C++ and Objective-C -
CleanArchitectureRxSwift
Example of Clean Architecture of iOS app using RxSwift -
KZBootstrap
iOS project bootstrap aimed at high quality coding. -
HeapInspector-for-iOS
Find memory issues & leaks in your iOS app without instruments -
Dotzu
iOS app debugger while using the app. Crash report, logs, network. -
dotenv-linter
⚡️Lightning-fast linter for .env files. Written in Rust 🦀 -
spacecommander
Commit fully-formatted Objective-C as a team without even trying. -
IBAnalyzer
Find common xib and storyboard-related problems without running your app or writing unit tests. -
DWURecyclingAlert
Optimizing UITableViewCell For Fast Scrolling -
SwiftCop
SwiftCop is a validation library fully written in Swift and inspired by the clarity of Ruby On Rails Active Record validations. -
Warnings-xcconfig
An xcconfig (Xcode configuration) file for easily turning on a boatload of warnings in your project or its targets. -
Marshroute
Marshroute is an iOS Library for making your Routers simple but extremely powerful -
PSTModernizer
Makes it easier to support older versions of iOS by fixing things and adding missing methods -
Trackable
Trackable is a simple analytics integration helper library. It’s especially designed for easy and comfortable integration with existing projects. -
DecouplingKit
decoupling between modules in your iOS Project. iOS模块化过程中模块间解耦方案 -
KZAsserts
Asserts on roids, test all your assumptions with ease. -
AnyLint
Lint anything by combining the power of scripts & regular expressions. -
WeakableSelf
A Swift micro-framework to easily deal with weak references to self inside closures -
SwiftLinter
Share lint rules between projects and lint changed files with SwiftLint. -
UIBaseKit
This helps make the view's configuration code, hierarchy code, and constraint code neat. -
Bugsee
In-app bug and crash reporting with video, logs, network traffic and traces.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of ODUIThreadGuard or a related project?
README
ODUIThreadGuard
ODUIThreadGuard is a guard to help check if you make UI changes not in main thread.
As Xcode 9 embedded this function into Xcode, there is no reason to maintain this project in the feature, Happy Coding.
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.
[ScreenShot](DemoScreenShot.jpeg)
Features
- [x] Passive implementation
- [x] Throw an assertion if setNeedsDisplay, setNeedsLayout, or setNeedsDisplayInRect: is called for instantiation of any UIView
- [x] Get the thread stack to help you locate where you make the mistake
Usage
No matter which way you use ODUIThreadGuard, no need to import any files, it is a extension of UIView, so it will work automatically.
CocoaPods
You can use CocoaPods to install ODUIThreadGuard
by adding it to your Podfile
:
platform :ios, '8.0'
use_frameworks!
pod 'ODUIThreadGuard'
Then drop ODUIThreadGuard.swift into your porject.
Carthage
Create a Cartfile
that lists the framework and run carthage update
. Follow the instructions to add $(SRCROOT)/Carthage/Build/iOS/YourLibrary.framework
to an iOS project.
github "olddonkey/ODUIThreadGuard"
Manually
- Download and drop
ODUIThreadGuard.swift
in your project. - Congratulations!
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.
Requirements
- iOS 8.0+
- Swift 3
The main development of ODUIThreadGuard is based on Swift 3.
Contact
Follow and contact me through email: [email protected]. If you find an issue, just open a ticket on it. Pull requests are warmly welcome as well.
License
ODUIThreadGuard is released under the MIT license. See LICENSE for details.
*Note that all licence references and agreements mentioned in the ODUIThreadGuard README section above
are relevant to that project's source code only.