KSImageNamed Xcode plug-in

(Permalink)

A common pain-point when dealing with user interfaces in Xcode is making sure you correctly call -[UIImage imageNamed:]. Since the compiler does not assist you with making sure the the image name you pass in actually exists, it’s easy for typos to sneak in.

Enter KSImageNamed, a nifty Xcode plugin that adds auto-completion for exactly this case:

KSImageNamed in action

Just type in [NSImage imageNamed: or [UIImage imageNamed: and all the images in your project will conveniently appear in the autocomplete menu.

Easy as that! Makes me wish Xcode could to this out of the box.

Posted in ❤ing