Written by Mattt December 13th, 2019 (revised) This article has been translated into: 中文 #pragma declarations are a mark of craftsmanship in Objective-C. Although originally used to make source code compatible across different compilers, Xcode-savvy programmers use #pragma declarations to very different ends. Whereas other preprocessor directives allow you to define behavior when code is executed,