WatchdogInspector alternatives and similar libraries
Based on the "Tools" category.
Alternatively, view WatchdogInspector alternatives based on common mentions on social networks and blogs.
-
Awesome-Design-Tools
The best design tools and plugins for everything ๐ -
R.swift
Strong typed, autocompleted resources like images, fonts and segues in Swift projects -
SwiftGen
The Swift code generator for your assets, storyboards, Localizable.strings, โฆ โ Get rid of all String-based APIs! -
Insanity
Meta-programming for Swift, stop writing boilerplate code. -
Lona
A tool for defining design systems and using them to generate cross-platform UI code, Sketch files, and other artifacts. -
XcodeGen
A Swift command line tool for generating your Xcode project -
Tweaks
An easy way to fine-tune, and adjust parameters for iOS apps in development. -
appledoc
Objective-c code Apple style documentation set generator. -
Xcodes.app
The easiest way to install and switch between multiple versions of Xcode - with a mouse click. -
FBSimulatorControl
idb is a flexible command line interface for automating iOS simulators and devices -
FengNiao
A command line tool for cleaning unused resources in Xcode. -
LifetimeTracker
Find retain cycles / memory leaks sooner. -
SourceKitten
An adorable little framework and command line tool for interacting with SourceKit. -
GDPerformanceView-Swift
Shows FPS, CPU and memory usage, device model, app and iOS versions above the status bar and report FPS, CPU and memory usage via delegate. -
ProvisionQL
Quick Look plugin for apps and provisioning profile files -
LicensePlist
A license list generator of all your dependencies for iOS applications -
Provisioning
A Quick Look plug-in for .mobileprovision files -
AppDevKit
AppDevKit is an iOS development library that provides developers with useful features to fulfill their everyday iOS app development needs. -
Laurine
Laurine - Localization code generator written in Swift. Sweet! -
ThisCouldBeUsButYouPlaying
:black_joker: Generate Swift Playgrounds for any library. -
DBDebugToolkit
Set of easy to use debugging tools for iOS developers & QA engineers. -
Attabench
Microbenchmarking app for Swift with nice log-log plots -
iSimulator
iSimulator is a GUI utility to control the Simulator, and manage the app installed on the simulator. -
Blade
Better asset workflow for iOS developers. Generate Xcode image catalogs for iOS / OSX app icons, universal images, and more. -
ViewMonitor
ViewMonitor can measure view positions with accuracy. -
Realm Browser
DEPRECATED - Realm Browser for Mac OS X has been replaced by realm-studio which is cross platform. -
Cookiecutter
A template for new Swift iOS / macOS / tvOS / watchOS Framework project ready with travis-ci, cocoapods, Carthage, SwiftPM and a Readme file -
Rugby
๐ Cache CocoaPods for faster rebuild and indexing Xcode project -
SuperDelegate
SuperDelegate provides a clean application delegate interface and protects you from bugs in the application lifecycle -
abandoned-strings
Command line program that detects unused resource strings in an iOS or OS X application. -
Swift Package Index
The Swift Package Index is the place to find Swift packages! -
fastlane-plugin-appicon
Generate required icon sizes and iconset from a master application icon. -
AVXCAssets-Generator
AVXCAssets Generator takes path for your assets images and creates appiconset and imageset for you in just one click -
Shark
Swift CLI for strong-typing images, colors, storyboards, fonts and localizations
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 WatchdogInspector or a related project?
README
WatchdogInspector
Shows your current framerate (fps) in the status bar of your iOS app
Be a good citizen! Don't block your main thread!
WatchdogInspector counts your app's framerate and displays the fps in the status bar. The coloured status bar lets you know when your framerate drops below 60 fps. If everything is fine your status bar gets happy and will stay green. To detect unwanted main thread stalls you can set a custom watchdog timeout.
Features
- Status bar displays the current framerate in fps (measured every 2 seconds)
- Colours the status bar from green (good fps) to red (bad fps)
- Custom watchdog timeout: Exception when main thread stalls for a defined time
[screencast](screencast.gif)
Install
CocoaPods
pod "WatchdogInspector"
and run pod install
You can see the example project how to setup and run WatchdogInspector
Make sure that you don't use WatchdogInspector
in production.
Carthage
You can use Carthage. Specify in Cartfile:
github "tapwork/WatchdogInspector"
Usage
[Objective-C](README_objc.md) | Swift
Start
After launch or whenever you want.
import WatchdogInspector
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
TWWatchdogInspector.start()
return true
}
Stop
To stop it just call
TWWatchdogInspector.stop()
Main Thread Stalling Exceptions
You can set a custom watchdog timeout for stalling exceptions (Default: 3 seconds)
TWWatchdogInspector.setStallingThreshhold(10.0)
You could also disable the Main Thread exceptions
TWWatchdogInspector.setEnableMainthreadStallingException(false)
Logging
To log all measured framerates you can log them in the console by calling (Default: on)
TWWatchdogInspector.setUseLogs(true)
How it works
There are basically two timers running to measure the framerate.
The background thread timer fires every 2 seconds to count how many frames were set by the main thread. Ideally the result would be 120 frames in 2 seconds to get 60 fps. The background timer resets the frames counter every event. He also sends the measured fps to the status bar on the main thread.
The main thread timer should fire every 1/60 second (60 fps is optimum for a smooth animation) to increment the frames counter. If the main thread is blocked and can't run every 1/60 second the framerate will drop the 60 fps.
There is also a run loop observer running to detect main thread stalls for a defined timeout. If the timeout has been reached an exception will be thrown.
Related projects
- HeapInspector Find memory issues & leaks in your iOS app
Author
License
[MIT](LICENSE)
*Note that all licence references and agreements mentioned in the WatchdogInspector README section above
are relevant to that project's source code only.