AssetChecker alternatives and similar libraries
Based on the "Tools" category.
Alternatively, view AssetChecker 👮 alternatives based on common mentions on social networks and blogs.
-
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. -
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 -
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. -
AppDevKit
AppDevKit is an iOS development library that provides developers with useful features to fulfill their everyday iOS app development needs. -
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. -
Realm Browser
DISCONTINUED. DEPRECATED - Realm Browser for Mac OS X has been replaced by realm-studio which is cross platform. -
Cookiecutter
DISCONTINUED. A template for new Swift iOS / macOS / tvOS / watchOS Framework project ready with travis-ci, cocoapods, Carthage, SwiftPM and a Readme file -
SuperDelegate
DISCONTINUED. 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. -
AVXCAssets-Generator
AVXCAssets Generator takes path for your assets images and creates appiconset and imageset for you in just one click
CodeRabbit: AI Code Reviews for Developers
* 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 AssetChecker or a related project?
README
AssetChecker
AssetChecker is a tiny run script that keeps your Assets.xcassets
files clean and emits warnings when something is suspicious.
Because Image Assets files are not safe, if an asset is ever deleted, nothing will warn you that an image is broken in your code.
Try it!
AssetChecker is part of freshOS iOS toolset. Try it in an example App! Download Starter Project
How
By using a script running automatically, you have a safety net that makes using Asset Catalog a breeze.
What
Automatically (On build)
- Raises Errors for Missing Assets
- Raises warnings for Unused Assets
Installation
Installation available via Cocoapods. Add the following to your Podfile:
pod 'AssetChecker', :git => 'https://github.com/freshOS/AssetChecker.git'
Or copy the script into your project.
Add the following Run Script
in XCode, this will run the script at every build.
If you installed via Cocoapods, you can use the following script:
${PODS_ROOT}/AssetChecker/run --catalog ${SRCROOT}/Resource/Images.xcassets
with arguments:
--catalog Absolute path to your Asset catalog (required)
--source Absolute path to your source directory. Defaults to $SRCROOT
If you didn't use Cocoapods, use the path of where you copied AssetChecker script:
${SRCROOT}/{PATH_TO_THE_SCRIPT}/AssetChecker.swift ${SRCROOT}/Sources ${SRCROOT}/Resources/Images.xcassets
In this example your source files are located in /Sources
and your Asset catalog is in /Resources/Images.xcassets
.
And configure top section of the script :
// Configure me \o/
let sourcePath = "/Sources"
let assetCatalogPath = "/Resources/Assets.xcassets"
let ignoredUnusedNames = [String]()
Run and Enjoy \o/
False positives
Sometimes you're building the asset names dynamically so there is no way for AssetChecker to find out statically by looking at the codebase.
In this case the script will emit a false positive.
You can manually declare these false positives so that they get ignored !
Set the ignoredUnusedNames
variable in the script file like so:
let ignoredUnusedNames = [
"voteEN",
"voteES",
"voteFR"
]
Author
Sacha Durand Saint Omer, [email protected]
Contributing
Contributions to AssetChecker are very welcomed and encouraged!
License
AssetChecker is available under the MIT license. See LICENSE for more information.
Backers
Like the project? Offer coffee or support us with a monthly donation and help us continue our activities :)
Sponsors
Become a sponsor and get your logo on our README on Github with a link to your site :)
*Note that all licence references and agreements mentioned in the AssetChecker README section above
are relevant to that project's source code only.