DWURecyclingAlert alternatives and similar libraries
Based on the "Code Quality" category.
Alternatively, view DWURecyclingAlert alternatives based on common mentions on social networks and blogs.
-
CleanArchitectureRxSwift
Example of Clean Architecture of iOS app using RxSwift. -
Tailor
Cross-platform static analyzer for Swift that helps you to write cleaner code and avoid bugs. -
IBAnalyzer
Find common xib and storyboard-related problems without running your app or writing unit tests. -
dotenv-linter
⚡️Lightning-fast linter for .env files. Written in Rust 🦀 -
SwiftCop
SwiftCop is a validation library fully written in Swift and inspired by the clarity of Ruby On Rails Active Record validations. -
Viperit
Viper Framework for iOS. Develop an app following VIPER architecture in an easy way. Written and tested in Swift. -
Warnings-xcconfig
An xcconfig (Xcode configuration) file for easily turning on a boatload of warnings in your project or its targets. -
Clue
Flexible bug report framework for iOS with screencast, networking, interactions and view structure. -
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. -
KZAsserts
Set of custom assertions that automatically generate NSError's, allow for both Assertions in Debug and Error handling in Release builds, with beautiful DSL. -
WeakableSelf
A Swift micro-framework to encapsulate [weak self] and guard statements within closures. -
Bugsee
In-app bug and crash reporting with video, logs, network traffic and traces.
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of DWURecyclingAlert or a related project?
README
DWURecyclingAlert
Your code usually has less than ten milliseconds to run before it causes a frame drop.1
Visualize Bad Drawings On The Fly
Injects 4 classes:
UITableViewCell
UICollectionViewCell
UITableViewHeaderFooterView
UICollectionReusableView
(as footers/headers)
Monitors 6 time sensitive API calls:
[UIView drawRect:]
tableView:cellForRowAtIndexPath:
tableView:viewForHeaderInSection:
tableView:viewForFooterInSection:
collectionView:cellForItemAtIndexPath:
collectionView:viewForSupplementaryElementOfKind:atIndexPath:
Visualizes bad drawing code in 2 ways:
- Displays non-recycled UIView, CALayer and UIImage objects with bold red bolders.
- Displays the time it takes to complete each time sensitive API calls, in milliseconds.
Usage
Step 1: Drop [DWURecyclingAlert.m][code] into your project, Swift or ObjC.
Step 2: There's no step 2.
(Optionally) Using CocoaPods and manually start the injection:
pod 'DWURecyclingAlert'
Then manually start injection by running the following function anywhere in your project:
void Inject_DWURecyclingAlert();
UI Configuration
It's likely that your project happens to use lots of [UIColor redColor]
here and there. Or, maybe you want to localize the millisecond warning string with your team's first language. Take a look at the [UI Configuration][code_line_39] section and customize them the way you like.
How It Works
Method swizzling and associated objects. You could always read the [source][code].
Disabled in Release By Default
[DWURecyclingAlert.m][code] requires the DEBUG macro to compile and run. As a result, it's disabled in Release by default. If you also want to disable it in debug builds, comment out the [DWURecyclingAlertEnabled][code_line_23] macro at the top of the file.
Misc
- Whether your cell / header / footer are created by code or by nib/storyboard, [DWURecyclingAlert.m][code] has a way to scan it.
- It's perfectly normal for a cell to have multiple subviews that override
drawRect:
, if that's the case, [DWURecyclingAlert.m][code] will calculate the sum for all the time it takes to go through eachdrawRect:
call. - [DWURecyclingAlert.m][code] requires iOS 6 or higher to compile.
Example Project
Inside this repo you can find the RecyclingAlert example project.
License
DWURecyclingAlert is released under the MIT license. See [LICENSE][license] for details.
1: Facebook AsyncDisplayKit Guide. (http://asyncdisplaykit.org/guide)
*Note that all licence references and agreements mentioned in the DWURecyclingAlert README section above
are relevant to that project's source code only.