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,
![#pragma](https://cdn-ak-scissors.b.st-hatena.com/image/square/001ad64e0d4b8d112e2e655c715293871b8db453/height=288;version=1;width=512/https%3A%2F%2Fnshipster.com%2Flogo.png)