Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tinymind committed Sep 28, 2017
1 parent 60f16f9 commit 6cdfeea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ It's an useful utility tool to check what resources are not being used in your X

## Feature

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

For example:

Expand Down Expand Up @@ -43,10 +43,10 @@ NSInteger index = random() % 4;
UIImage *img0 = [UIImage imageNamed:[NSString stringWithFormat:@"icon_tag_%d", index]];

// Or
UIImage *img1 = [self createImageWithPrefix:"icon_title" suffix:@"-" andIndex:index];
UIImage *img1 = [self createImageWithPrefix:@"icon_title" concat:@"-" andIndex:index];

// Or
UIImage *img2 = [self createImageWithPrefix:"icon_test" andIndex:index];
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.
Expand Down

0 comments on commit 6cdfeea

Please sign in to comment.