All Projects → tinymind → Lsunusedresources

tinymind / Lsunusedresources

Licence: mit
A Mac App to find unused images and resources in XCode project.

Programming Languages

objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to Lsunusedresources

Bluepill
Bluepill is a reliable iOS testing tool that runs UI tests using multiple simulators on a single machine
Stars: ✭ 3,080 (-16.58%)
Mutual labels:  xcode
Xcproj
Command line tool for manipulating Xcode project files
Stars: ✭ 311 (-91.58%)
Mutual labels:  xcode
Awesome Cheatsheets
👩‍💻👨‍💻 Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file.
Stars: ✭ 26,007 (+604.41%)
Mutual labels:  xcode
Swiftscan
A barcode and qr code scanner( 二维码/条形码扫描、生成,仿微信、支付宝)
Stars: ✭ 293 (-92.06%)
Mutual labels:  xcode
Stevia
🍃 Concise Autolayout code
Stars: ✭ 3,182 (-13.81%)
Mutual labels:  xcode
Xcodetheme
My Xcode theme - Sundell's Colors
Stars: ✭ 312 (-91.55%)
Mutual labels:  xcode
Hfcardcollectionviewlayout
The HFCardCollectionViewLayout provides a card stack layout not quite similar like the apps Reminder and Wallet.
Stars: ✭ 281 (-92.39%)
Mutual labels:  xcode
Swift5 Module Template
An opinionated starting point for awesome, reusable Swift 5 modules
Stars: ✭ 331 (-91.03%)
Mutual labels:  xcode
Wordpress Ios
WordPress for iOS - Official repository
Stars: ✭ 3,239 (-12.27%)
Mutual labels:  xcode
Snapkit
A Swift Autolayout DSL for iOS & OS X
Stars: ✭ 18,091 (+390.01%)
Mutual labels:  xcode
Netfox
A lightweight, one line setup, iOS / OSX network debugging library! 🦊
Stars: ✭ 3,188 (-13.65%)
Mutual labels:  xcode
Callbackurlkit
Implementation of x-callback-url (Inter app communication) in swift
Stars: ✭ 299 (-91.9%)
Mutual labels:  xcode
Microfeatures Guidelines
📦📝 uFeatures guidelines
Stars: ✭ 315 (-91.47%)
Mutual labels:  xcode
Imageloaderswift
A lightweight and fast image loader for iOS written in Swift.
Stars: ✭ 290 (-92.15%)
Mutual labels:  xcode
Mockolo
Efficient Mock Generator for Swift
Stars: ✭ 327 (-91.14%)
Mutual labels:  xcode
Flutter photo
Pick image/video from album by flutter. Support ios and android. UI by flutter, no native.
Stars: ✭ 285 (-92.28%)
Mutual labels:  xcode
Localize
🏁 Automatically clean your Localizable.strings files
Stars: ✭ 311 (-91.58%)
Mutual labels:  xcode
Themer Gui
A graphical UI for themer. Replaced by Progressive Web App at https://themer.dev.
Stars: ✭ 337 (-90.87%)
Mutual labels:  xcode
Tbuiautotest
Generating UI test label automatically for iOS.
Stars: ✭ 333 (-90.98%)
Mutual labels:  xcode
Maplebacon
🍁🥓 Lightweight and fast Swift library for image downloading, caching and transformations
Stars: ✭ 322 (-91.28%)
Mutual labels:  xcode

LSUnusedResources

A Mac App to find unused images and resources in an Xcode project. It is heavily influenced by jeffhodnett‘s Unused, but Unused is very slow, and the results are not entirely correct. So I made some performance optimization, the search speed is more faster than Unused.

Example

LSMessageHUD Example1

Usage

It's an useful utility tool to check what resources are not being used in your Xcode projects. Very easy to use:

  1. Click Browse.. to select a project folder.
  2. Click Search to start searching.
  3. Wait a few seconds, the results will be shown in the tableview.

Feature

Check Ignore similar name to ignore the resources which referenced by string concatenation, regex: ([-_]?\d+).

For example:

You import some resources like:

icon_tag_0.png
icon_tag_1.png
icon_tag_2.png
icon_tag_3.png

icon_title-0.png
icon_title-1.png
icon_title-2.png

icon_test0.png
icon_test1.png
icon_test2.png

And using in this way:

NSInteger index = random() % 4;
UIImage *img0 = [UIImage imageNamed:[NSString stringWithFormat:@"icon_tag_%d", index]];
	
// Or
UIImage *img1 = [self createImageWithPrefix:@"icon_title" concat:@"-" andIndex:index];

// Or
UIImage *img2 = [self createImageWithPrefix:@"icon_test" andIndex:index];

icon_tag_x.png, icon_title-x and icon_testx will be considered to be used, should not be shown as unused resource.

Installation

How it works

  1. Get resource files (default: [imageset, jpg, png, gif]) in these folders [imageset, launchimage, appiconset, bundle, png].
  2. Use regex to search all string names in code files (default: [h, m, mm, swift, xib, storyboard, strings, c, cpp, html, js, json, plist, css]).
  3. Exclude all used string names from resources files, we get all unused resources files.

Requirements

Requires OS X 10.7 and above, ARC.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].