'Calling a method' OR 'sending a message' in Objective C

前端 未结 5 1172
旧巷少年郎
旧巷少年郎 2020-12-04 09:15

In C or any ECMAscript based language you \'call a public method or function\' on an object. But in documentation for Objective C, there are no public method calls, only the

5条回答
  •  孤城傲影
    2020-12-04 10:02

    Was taught this in my Java class. I would say they only have realistic differences in multithreaded scenarios, where message-passing is a very legitimate and often-used technique.

提交回复
热议问题