objective-c 后缀名.m 是哪个单词的缩写呢.
.h head 缩写 .m 又是哪个? model?manage?
怪我咯2017-04-22 09:02:15
I always thought that there was an m in implementation, so it became .m. But most of the sayings on the Internet are the abbreviation of methods or message!
伊谢尔伦2017-04-22 09:02:15
I have never struggled with this, but I know that the suffix of Objective-C source files is .m. That’s it, why bother?
ringa_lee2017-04-22 09:02:15
Why don’t you google this question first before asking it? Answer
怪我咯2017-04-22 09:02:15
.m file: message file (message, also called implementation file).
The data implementation mechanism of objective-c is the same as the message sending implementation mechanism of smalltalk. Therefore, the code implemented in objective-c is saved in the .m (message) abbreviated suffix file to indicate the role and function of this file. use.