Swift: #warning equivalent

Does Swift have a #warning equivalent?
It’s simply used to show a warning in Xcode’s own GUI

I’m also interested in whether there’s a #error equivalent.

Apple has said #pragma mark is coming soon, it could possibly be the same with this.

enter image description here

14 Answers
14

Leave a Comment