Reputation: 598
How can you detect if you are in storyboard mode using conditional compiling?
Background: I want to display a static image instead of dynamic one for the storyboard view. I stumbled over an article on how to do that a while ago (so I know it's possible) but I can't find that anymore.
It's something similar to this:
#if storyboard
statements
#else
statements
#endif
Any advice?
Upvotes: 1
Views: 537