Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to locate warnings in Xcode storyboard?

Tags:

xcode

ios

Is there a quick way to map from compiler warnings to the offending components in a storyboard?

I have, for example, a warning stating Highlight tint color unsupported by this button type... but I don't know how to map back to identify the relevant button in the storyboard? The fix is simple once identified - is there a quick way to locate the button starting from the warning rather than having to inspect each custom button in my (quite extensive) storyboard?

like image 259
Purpletoucan Avatar asked Nov 30 '12 16:11

Purpletoucan


1 Answers

Generally if you have an Interface Builder related warning, by clicking on that warning Issue Navigator, Xcode should take you to Interface Builder and select that element in question for you. If that's not happening (and frankly, whenever Xcode stops behaving as it should), try quitting and restarting Xcode and, if that doesn't do it, rebooting your computer.

like image 53
Rob Avatar answered Sep 21 '22 11:09

Rob