search

Home  >  Q&A  >  body text

objective-c 后缀名.m 是哪个单词的缩写呢

objective-c 后缀名.m 是哪个单词的缩写呢.

.h head 缩写 .m 又是哪个? model?manage?

迷茫迷茫2768 days ago718

reply all(6)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-22 09:02:15

    Because .o and .c were taken. Simple as that.

    reply
    0
  • 怪我咯

    怪我咯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!

    reply
    0
  • 伊谢尔伦

    伊谢尔伦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?

    reply
    0
  • ringa_lee

    ringa_lee2017-04-22 09:02:15

    Why don’t you google this question first before asking it? Answer

    reply
    0
  • 怪我咯

    怪我咯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.

    reply
    0
  • 阿神

    阿神2017-04-22 09:02:15

    method or message

    reply
    0
  • Cancelreply