GDPerformanceView-Swift alternatives and similar libraries
Based on the "Tools" category.
Alternatively, view GDPerformanceView-Swift 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! -
Lona
A tool for defining design systems and using them to generate cross-platform UI code, Sketch files, and other artifacts. -
Insanity
Meta-programming for Swift, stop writing boilerplate code. -
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. -
Xcodes.app
The easiest way to install and switch between multiple versions of Xcode - with a mouse click. -
appledoc
Objective-c code Apple style documentation set generator. -
FBSimulatorControl
idb is a flexible command line interface for automating iOS simulators and devices -
BuildTimeAnalyzer
Build Time Analyzer for Swift -
FengNiao
A command line tool for cleaning unused resources in Xcode. -
LifetimeTracker
Find retain cycles / memory leaks sooner. -
Peek
All new design. Inspect your iOS application at runtime. -
ProvisionQL
Quick Look plugin for mobile apps and provisioning profiles -
SourceKitten
An adorable little framework and command line tool for interacting with SourceKit. -
LicensePlist
A license list generator of all your dependencies for iOS applications -
Xtrace
Trace Objective-C method calls by class or instance -
AppDevKit
AppDevKit is an iOS development library that provides developers with useful features to fulfill their everyday iOS app development needs. -
Provisioning
A Quick Look plug-in for .mobileprovision files -
DBDebugToolkit
Set of easy to use debugging tools for iOS developers & QA engineers. -
ThisCouldBeUsButYouPlaying
:black_joker: Generate Swift Playgrounds for any library. -
Laurine
Laurine - Localization code generator written in Swift. Sweet! -
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 -
PlayAlways
Create Xcode playgrounds from your menu bar -
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 -
WatchdogInspector
Shows your current framerate (fps) in the status bar of your iOS app -
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! -
XCSwiftr
An Xcode Plugin to convert Objective-C to Swift -
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 GDPerformanceView-Swift or a related project?
README
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.
Installation
Simply add GDPerformanceMonitoring folder with files to your project, or use CocoaPods.
Carthage
Create a Cartfile
that lists the framework and run carthage update
. Follow the instructions to add $(SRCROOT)/Carthage/Build/iOS/GDPerformanceView.framework
to an iOS project.
github "dani-gavrilov/GDPerformanceView-Swift" ~> 2.1.1
Don't forget to import GDPerformanceView by adding:
import GDPerformanceView
CocoaPods
You can use CocoaPods to install GDPerformanceView
by adding it to your Podfile
:
platform :ios, '8.0'
use_frameworks!
target 'project_name' do
pod 'GDPerformanceView-Swift', '~> 2.1.1'
end
Don't forget to import GDPerformanceView by adding:
import GDPerformanceView_Swift
Usage example
Simply start monitoring. Performance view will be added above the status bar automatically. Also, you can configure appearance as you like or just hide the monitoring view and use its delegate.
You can find example projects here.
Start monitoring
By default, monitoring is paused. Call the following command to start or resume monitoring:
PerformanceMonitor.shared().start()
or
self.performanceView = PerformanceMonitor()
self.performanceView?. start()
This won't show the monitoring view if it was hidden previously. To show it call the following command:
self.performanceView?.show()
Pause monitoring
Call the following command to pause monitoring:
self.performanceView?.pause()
This won't hide the monitoring view. To hide it call the following command:
self.performanceView?.hide()
Displayed information
You can change displayed information by changing options of the performance monitor:
self.performanceView?.performanceViewConfigurator.options = .all
You can choose from:
- performance - CPU usage and FPS.
- memory - Memory usage.
- application - Application version with build number.
- device - Device model.
- system - System name with version.
Also you can mix them, but order doesn't matter:
self.performanceView?.performanceViewConfigurator.options = [.performance, .application, .system]
By default, set of [.performance, .application, .system] options is used.
You can also add your custom information by using:
self.performanceView?.performanceViewConfigurator.userInfo = .custom(string: "Launch date \(Date())")
Keep in mind that custom string will not automatically fit the screen, use \n
if it is too long.
Appearance
You can change monitoring view appearance by changing style of the performance monitor:
Call the following command to change output information:
self.performanceView?.performanceViewConfigurator.style = .dark
You can choose from:
- dark - Black background, white text.
- light - White background, black text.
- custom - You can set background color, border color, border width, corner radius, text color and font.
By default, dark style is used.
Also you can override prefersStatusBarHidden and preferredStatusBarStyle to match your expectations:
self.performanceView?.statusBarConfigurator.statusBarHidden = false
self.performanceView?.statusBarConfigurator.statusBarStyle = .lightContent
Interactions
You can interact with performance view via gesture recognizers. Add them by using:
self.performanceView?.performanceViewConfigurator.interactors = [tapGesture, swipeGesture]
If interactors is nil or empty point(inside:with:)
of the view will return false to make all touches pass underneath. So to remove interactors just call the following command:
self.performanceView?.performanceViewConfigurator.interactors = nil
By default, interactors are nil.
Delegate
Set the delegate and implement its method:
self.performanceView?.delegate = self
func performanceMonitor(didReport performanceReport: PerformanceReport) {
print(performanceReport.cpuUsage, performanceReport.fps, performanceReport.memoryUsage.used, performanceReport.memoryUsage.total)
}
Requirements
- iOS 9.0+
- xCode 12.0+
Donations
Wanna say thanks? You can do it using Patreon.
Meta
I will be pleased to know that your project uses this framework. You can send a link to your project in App Store to my email - [email protected].
License
GDPerformanceView is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the GDPerformanceView-Swift README section above
are relevant to that project's source code only.