Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
Add `how it works` section in readme
  • Loading branch information
remlostime committed Jan 22, 2018
1 parent 55f22c2 commit c0d8a67
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ UIImage *img2 = [self createImageWithPrefix:@"icon_test" andIndex:index];
* Download: [LSUnusedResources.app.zip](https://github.com/tinymind/LSUnusedResources/raw/master/Release/LSUnusedResources.app.zip)
* Or build and run the project using XCode.
## 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.

0 comments on commit c0d8a67

Please sign in to comment.