chore(FilesLogger): rename file name
Trivial command-line tool build in educational purposes & for personal use. Allows to easily find unused resources in XCode project.
.swift
UIImage(named: "imageName")
UIImage(named: "imageName.extension")
.m
[UIImage imageNamed:@"imageName"]
[UIImage imageNamed:@"imageName.extension"]
.xib
.storyboard
image="imageName"
image="imageName.extension"
The easiest way to install Taza is using Swift Package Manager:
$ git clone https://github.com/danabeknar/taza $ cd taza $ swift build --configuration release $ cp -f .build/release/taza /usr/local/bin/taza
Without any specifications (have to be executed in the directory where Xcode project is located):
taza
Specifies path of project to search for:
taza --path ~/Example
Specifies should script list all found files:
taza --listFiles
Specifies should script list all found resources:
taza --listResources
Or altogether:
taza --path ~/Example --listFiles --listResources
Feel free to contact me on Telegram for discussions, news & announcements about Taza & other projects.
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
Taza 🧼
Trivial command-line tool build in educational purposes & for personal use.
Allows to easily find unused resources in XCode project.
How it works
.swiftfile, the script searchesUIImage(named: "imageName")&UIImage(named: "imageName.extension")occurences;.mfile, the script searches[UIImage imageNamed:@"imageName"]&[UIImage imageNamed:@"imageName.extension"]occurences;.xib/.storyboardfile, the script searchesimage="imageName"&image="imageName.extension"occurences;Installation
The easiest way to install Taza is using Swift Package Manager:
Usage
Without any specifications (have to be executed in the directory where Xcode project is located):
Specifies path of project to search for:
Specifies should script list all found files:
Specifies should script list all found resources:
Or altogether:
To Do:
Dependencies
Help, feedback or suggestions?
Feel free to contact me on Telegram for discussions, news & announcements about Taza & other projects.