Code Monkey home page Code Monkey logo

Comments (6)

onevcat avatar onevcat commented on May 23, 2024

@fatinWasta Can you give an example? FengNiao is searching for images used in your source file and UI files (xib, storyboard). All other images will be marked as non-used. If you have some images not referenced in source and UI files, but you need to keep it, you could add them (or the path of which) to the --exclude option.

from fengniao.

fatinWasta avatar fatinWasta commented on May 23, 2024

@onevcat thank you for replying.
its deleting files which I've already used in source file too. And there are total 237 files which are unused it's showing.

from fengniao.

onevcat avatar onevcat commented on May 23, 2024

Can you tell me how did you use them in your source? (maybe some source code on using the images could be a help to point out the problem)

from fengniao.

fatinWasta avatar fatinWasta commented on May 23, 2024

cell.iconImg.image = [UIImage imageNamed:@"train_blue.png"];

I just cross verified, the images are not removed, they are in project but still not showing.

from fengniao.

onevcat avatar onevcat commented on May 23, 2024

@fatinWasta

I'm sorry but I am not sure I could understand what you mean exactly.

You said you were using some code like this:

cell.iconImg.image = [UIImage imageNamed:@"train_blue.png"];

And the image named "train_blue.png" is not removed from your folder. That is correct right. FengNiao will not remove the images in using.

But if the images are still there, it should be also referenced in your Xcode project file, since FengNiao will never try to modify your project file.

So I am not quite sure what happened here. Is it possible to create a demo project which could reproduce it? Thanks!

from fengniao.

fatinWasta avatar fatinWasta commented on May 23, 2024

I'll try to reproduce this in demo project and let you know. :)
thanks.

from fengniao.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.