What is the significance of #pragma marks? Why do we need #pragma marks?

前端 未结 7 1383
耶瑟儿~
耶瑟儿~ 2021-01-29 17:21

What is the purpose of #pragma marks in Xcode? Does their location in .m files matter? Should some #pragma come before all others?

7条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-29 18:01

    While searching for doc to point to about how pragma are directives for the compiler, I found this NSHipster article that does the job pretty well.

    I hope you'll enjoy the reading

提交回复
热议问题