onemach
onemach

Reputation: 4325

find image with image name in xcode

I am working on an iOS project. How can I navigate "somepicure.png" quickly when I find [UIImage imageNamed:@"somepicture.png"]?

I have tried right click and click with control/option/command, but none of them works.

Upvotes: 1

Views: 1130

Answers (3)

bvogelzang
bvogelzang

Reputation: 1415

You can try the KSImageNamed plugin. I use it and it works very well. It autocompletes all image names in your project.

http://github.com/ksuther/KSImageNamed-Xcode

Upvotes: 0

Khaled Barazi
Khaled Barazi

Reputation: 8741

While the cursor is clicked on "somepicure.png", do shift+command+O. This is quick open and it will populate the search field with the word you are clicked on and show you location

Upvotes: 1

Jim
Jim

Reputation: 73936

Do you mean when you see a piece of code refer to a file in your application bundle, you want to be able to go from the piece of code to the file like you do when you use a feature like "Jump to definition"? As far as I am aware, that's not possible.

Upvotes: 0

Related Questions