Taza
🧼 keep your iOS project clean
Install / Use
/learn @danabeknar/TazaREADME
Taza 🧼
Trivial command-line tool build in educational purposes & for personal use.<br> Allows to easily find unused resources in XCode project.
How it works
- A script looks for images. For now it supports 4 types: .pdf, .png, .img, .jpg;
- It finds image-containable file. There are 4 types as well: .swift, .m, .xib, .storyboard;
- Then it loops through images and files, checking if a file contains an image. The checking depends on the file extension:
- If it's
.swiftfile, the script searchesUIImage(named: "imageName")&UIImage(named: "imageName.extension")occurences; - If it's
.mfile, the script searches[UIImage imageNamed:@"imageName"]&[UIImage imageNamed:@"imageName.extension"]occurences; - If it's
.xib/.storyboardfile, the script searchesimage="imageName"&image="imageName.extension"occurences;
- If the script could find unused image in these files, it prints them in a good-looking way:

Installation
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
Usage
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
To Do:
- [x] Search specific directory
- [x] List files
- [x] List resources
- [x] Ignore pods
- [ ] Removing images
Dependencies
Help, feedback or suggestions?
Feel free to contact me on Telegram for discussions, news & announcements about Taza & other projects.
Related Skills
node-connect
351.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
