Vyachaslav Gerchicov
Vyachaslav Gerchicov

Reputation: 2457

Get a list of images in the project in iOS?

I imported a lot of images into my app. I could use imageNamed: for each item but it is very hard to do manually (~50 images). Can I somehow get a list of them? It is just for testing purposes, so private api is acceptable too.

Or will it be easier for me to rename them to something like 1.jpg, 2.jpg and etc.

Upvotes: 1

Views: 58

Answers (1)

MoLowKey
MoLowKey

Reputation: 1142

the best way for you is rename you file to ( 1,2,3 xxx )

but there is a tool that help you to see you picture from app bundle during your coding

KSImageNamed

Upvotes: 1

Related Questions