Which image did I just load into that UIImage?

ios programming development UI UX

It’s been a couple of weeks since my last post. In this brief post I am going to show you how to check out what image you’ve loaded into your UIImage. I found this helpful when loading image assets from a REST webservice. So first thing’s first I set up a breakpoint after my UIImage is initialized.

XCode Breakpoint at UIImage initialization

Then by clicking the eyeball icon we get a nice preview of the image. Pretty neat.

Preview UIImage in XCode

I know this probably won’t be incredibly useful to lots of folks but hopefully it comes in handy for someone that’s struggling to make sure they have the right image at the right time.