开发者

Definition of receiver class

开发者 https://www.devze.com 2022-12-20 11:40 出处:网络
What is the definition of a reciever class? Is this the containg class of a field? For example, if field b is in a class named Foo, then Foo 开发者_运维知识库is the reciever class?

What is the definition of a reciever class? Is this the containg class of a field? For example, if field b is in a class named Foo, then Foo 开发者_运维知识库is the reciever class?

Thanks


I think the term comes up in iPhone-Programming more often. In Objective-C you do not call a method on an object but you send a message to that object and the object decides whether it will handle it or not. Since Objective-C borrwos from Smalltalk you should probably look for the term in that context. What language do you use?

0

精彩评论

暂无评论...
验证码 换一张
取 消